Interactive rating component using vanilla css and js
Design comparison
Solution retrospective
I tried to use better HTML structure thanks to the feedback from my last submission.
Any advice is welcome specially in the transitions that I use and the padding. :)
Community feedback
- @icaroMendes777Posted about 2 years ago
Hello!
The page looks nice, but if I can point only one small problem:
It is not specified in the requirements, but it is pretty standard that when the user submits anything, that there is some validation to be done. In this case, if the user didn't give it a rating the form should not accept the submit. the message "You selected undefined out of 5" does not fit well. It is simple tho, just to lock the submission until a rating is given.
But in general it is quite good. 👍
Marked as helpful0@KevinMA95Posted about 2 years ago@icaroMendes777 Oh you are right, I actually forgot to add the validation, thank you for telling me.
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