interactive-rating-component-main

Please log in to post a comment
Log in with GitHubCommunity feedback
- @Tux3er-Isma
Hi Renan
Tux3er has reviewed your code 🐧
Congrats 🎉, it looks nice, but I will give you some tips for your next project 💡:
HTML 🦴:
-
In my opinion is not a good practice to add onclick in each element. You can do it with JS with the addEventListener()
-
Also you can put tabindex instead to use it after in css with :focus
CSS 🎨:
-
As I said before you can use :focus in the numbers. Is like click in JS
-
You can also add a transition to all the hover states
JS 🟡:
-
The function mark you can get it with only HTML and CSS (as I said before)
-
You have to put a return button to return to the homepage
That's all, have a nice coding ⌨️!!!!
Marked as helpful -
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