So I have been working on the FrontendMentor Interactive rating component project and I am stuck!!!
So far I am able to change between the rating display and the thank you display. My struggle is figuring out how to select a different rating and displaying the corresponding messages. For example: if you select a rating of 3 the message should say: "You selected 3 out of 5". But so far, no. matter which rating you choose, the message only says "You selected 1 out of 5". Here I have my repository along with the live site so you can get a better understanding of what it is I am actually trying to explain.
I will really appreciate the help!