Design comparison
Solution retrospective
I could not figure out how to get the ratings to work. My addEventListener wouldn't work, no matter where I moved it.
Community feedback
- @FluffyKasPosted over 2 years ago
Hey there,
First off, a better choice would be to use radio inputs here instead of buttons for the numbers, then you wouldn't have to add extra code to remove active statuses for when someone changes their rating (and it would be more semantic, as well) ^^
As to why your code doesn't work at the moment, my guess would be the default behaviour when you click on any button, which is page refresh. You can read more on this here.
0 - @DrMESAZIMPosted over 2 years ago
Hi Angela
I recently did project as well YouTube video tutorial about this challenge you can follow it on this link
https://www.youtube.com/watch?v=HWWr2WcWies&t=822s
0 - @webstormcamPosted over 2 years ago
Hey Angela! Good start on this project!
I recently completed this project and I can help you out!
First off, it appears that your CSS style is not appear. Check how you are linking your CSS file in order to get it to work again.
Once you complete I will take a look at how your ratings appear!
Looking forward to hearing from you!
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord