Robinhood interview question

Create a logic for calendar web page