This is very nice and I just finished same challenge a day ago so I decided to check other solutions to gain more insights into the logic they implemented in their code (mostly, the JavaScript). Well done.
Though, I have a suggestion. I would suggest you use an if statement to check if a number(from the rates) has been clicked before the submit button would change the cards. So if someone doesn't choose any rating, nothing should happen.
You can check for that in future challenges. Great work. I hope you find this helpful.
Marked as helpful
@incihuseynli
Posted
@Akinyemi4 Thank you so much for great feedback. I'll check and try to improve my code more :)