Interactive Rating Component HTML, CSS and Javascript
Design comparison
Solution retrospective
My first time ever using java-script independently and also using methods to implement specific styles and transitions after a click event.
My javascript format may be a bit sloppy and would love some tips on how I can make them cleaner and perhaps find different syntax to make it shorter.
Community feedback
- @Olumide2596Posted over 2 years ago
Hello, completed this challenge yesterday and got some reviews that help me improve my code. This is the only part of the review I got that o think might be helpful to you.
You should use the
<main>
element only to wrap the main content of the page. You should keep the attribution content in a<footer>
element and out of the<main>
element. These are semantic elements and are used to structure the page. You can read more about them here0
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