UBS interview question

Reactjs questions, one CSS question