Cisco interview question

-create a todo app - write a react code for a clock which will update the time every second