Rating component with CSS and JavaScript

Solution retrospective
Hi all, build the rating component in plain CSS and JavaScript. Also added a validation to the submit button to check for user input. And users can only select one rating at a time.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @zaks276
Hello Ed. Good job on the design, your solution looks great. I have some tips for you, you should consider using tags such as
<main>
or<article>
etc instead of only<div>
. Also you can use the defer attribute in your script tag so you can put it in the<head>
instead of at the bottom of the<body>
tag. I hope this was helpful.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