Interactive component using CSS and JavaScript.

Solution retrospective
I started learning web development just 2 month ago, so keep in mind that I'm quite a beginner. This was my first project in JavaScript and I learned a lot about the DOM. Any feedback is welcome.
Please log in to post a comment
Log in with GitHubCommunity feedback
- P@elyyyse
Hey — great job on this! I noticed you made each rating input its own
<button>
. If you use<input type="radio">
instead and wrap them (and your submit button) in a<form>
, you'll get some functionality for free and will have less JS to write. You probably learned more about the DOM doing it your way, though.Marked as helpful
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