Interactive rating component

Please log in to post a comment
Log in with GitHubCommunity feedback
- P@katrien-s
Hi, it overall looks good but there's some minor issues.
I can click on all buttons, have them all highlighted before I click on submit. You should limit this to have only one button highlighted.
It's advised to combine all css in one file. There's no need to split it up. The same for your javascript. You can have it all in one file.
There is also no need to set a width on your body. It always takes by default 100vw.
Why did you use
!important
so often? Check also if by adding all your css to seperate classes, you maybe wrote too much css.For example:
.icon-wrapper
and.thanks-icon-wrapper
seem to have the sameflex
-styling which you could maybe put onsection
instead of adding the same code to 2 classes, that have the same use/outcome.But great job on this one. The Javascript works well, and it does what it needs to do. Have a look at the things I pointed out, and keep coding.
Marked as helpful - @RaviGahire
Good work, I just tested it..
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