Hi everyone,
I am building a sports scores app and I want to be able to have a list of dates where when a person clicks the date button it updates my API call.
I have set up the list of dates as buttons but I can't seem to update the app state when I click a button. I feel like I am very close to the solution I just need some help from someone who might know more!
I will provide screenshots of my page. Currently, the calendar in the top right controls my API call because it is set up to be optimized for dates and I can change the app state with that.
In short. I want to be able to press the "Oct 16" button and the games for Oct 16 appear below.
Thanks!!