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

Interactive Rating Component HTML, CSS and Javascript

Caleb Sim 410

@CodeLamp168

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


My first time ever using java-script independently and also using methods to implement specific styles and transitions after a click event.

My javascript format may be a bit sloppy and would love some tips on how I can make them cleaner and perhaps find different syntax to make it shorter.

Community feedback

@Olumide2596

Posted

Hello, completed this challenge yesterday and got some reviews that help me improve my code. This is the only part of the review I got that o think might be helpful to you.

You should use the <main> element only to wrap the main content of the page. You should keep the attribution content in a <footer> element and out of the <main> element. These are semantic elements and are used to structure the page. You can read more about them here

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