Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Interactiveratingcomponent

@MonicaNeve

Desktop design screenshot for the Interactive rating component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Projeto bom com html css javascript para quem esta começando e uma boa pratica

Community feedback

P

@JIH7

Posted

Looks good! I would give the text on the buttons and the star image user-select: none so that they can't be highlighted.

Looking at your script, I think it would make your code more readable if you used camel casing. Instead of howcontainernumber saying howContainerNumber makes things more readable. General convention is you have the first word lowercase, capitalize every word after. Camel casing is the most common way to go in the JavaScript world but you can use other kinds like snake casing how_container_number or Pascal casing HowContainerNumber (same as camel but the first word is capitalized too.)

0

@MonicaNeve

Posted

@JIH7 Muito obriga pela ajuda irei fazer as alterações

0

Please log in to post a comment

Log in with GitHub
Discord logo

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