Infosys interview question

create a todo list with react