Target interview question

Based on JS and css