Interactive Rating Component - With HTML/CSS/SASS/JS
Design comparison
Solution retrospective
-
Português : Mais um desafio feito, passei um bom tempo pesquisando uma forma de selecionar os elementos quando eles fossem clicados, até que achei essa forma. Se alguém tiver uma forma melhor de fazer, todo feedback é bem vindo.
-
English : One more challenge done, I spent a lot of time researching a way to select elements when they were clicked, until I found this way. If anyone has a better way to do it, any feedback is welcome.
Community feedback
- @BreinerJTPosted over 2 years ago
Hello Paulo, congratulations on completing this challenge. You should stop using events on the HTML code and use event listeners on javascript instead. You can read about this here
Marked as helpful0
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