Design comparison
SolutionDesign
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.
Community feedback
- @zaks276Posted over 2 years ago
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 helpful0
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