Interactive Rating Component using HTML, CSS and JavaScipt

Solution retrospective
I can't believe it's been two years since I last did a challenge on Frontend Mentor. It's good to do a challenge after such a long time to refresh my basic HTML, CSS, and JavaScript skills.
What challenges did you encounter, and how did you overcome them?I faced the problem that the user's selected rating was not showing when navigating Thank You page. The solution I went with was to save the rating that user selected in local storage and the adding a DOMContentLoaded
event listener to and get the selected rating and then displaying it within the HTML tag.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on abdullahmd2's solution.
Join 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