Interactive component using CSS and JavaScript.
Design comparison
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.
Community feedback
- @elyyysePosted over 1 year ago
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 helpful0@lucaspicininiPosted over 1 year ago@elyyyse Thanks for the tip, I'm going to start another challenge with forms to study more about them and I'll try that approach.
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