Infosys interview question

React -lifecycle Javascript html and css