Submitted over 2 years ago
Responsive Rating Component with a Mobile First Approach
@StormKing969
Design comparison
SolutionDesign
Solution retrospective
Any kind of feedback is welcomed :)
Community feedback
- @denieldenPosted over 2 years ago
Hi Sajana, great work on this challenge! 😉
Here are a few tips for improve your code:
- you can remove
margin
from.container
class because with flex they are superfluous - add
transition
on the element with hover effect - instead of using
px
use relative units of measurement likerem
-> read here - not use javascript inside html
onclick="Submission()"
but attach event directly in the js file like this:submitButton.addEventListener('click', Submission)
Overall you did well 😁 Hope this help!
Marked as helpful0 - you can remove
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