@elyyyse
Posted
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
@lucaspicinini
Posted
@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.