Interactive Rating Component (CSS, JS)

Solution retrospective
That was awesome! It's my debute with DOM manipulation.
Tbh: to the JS part I watched a tutorial, but I feel like Katas from codewars.com have trained me in advance.
With a little cheatsheet I'll be fine 😁 Peace ✌
Please log in to post a comment
Log in with GitHubCommunity feedback
- @elaineleung
Hi Kulek, I think you did a good job here! I'm glad you got to practice some of the knowledge from CodeWars, and using a tutorial is a good start to help you understand some of the concepts behind this.
Probably the only suggestion I have right now is, instead of having "you selected nothing" if the user doesn't select anything, try putting in some conditional logic in the JS to prevent the user from advancing to the thank you page, like,
if (this condition is fulfilled) { // run this code! }
Great job working on this, and keep practicing 😊
Marked as helpful - @Hussain760
Hi there Kulek !
your solution are really good it help me a lot
Thanks once again
- @MahdiRezaeiDev
your design is looking perfectly fine. just a little suggestion, it will be better if the user can come back to the rating page once he/she submitted the form. Maybe you can do it by adding an event listener to the body to hide the welcome message and display the form again.
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