Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 3 years ago

Beautiful Interactive Star Rate

sass/scss
Liarley Dantas•160
@LiarleyCodie
A solution to the Interactive rating component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hello, Liarley here. 😋

I used SCSS to write the CSS for this project to make my life easier.

I used several transitions as the project progressed. I estimate it took me a little over 5 hours to do everything.

I used a custom attribute that I called data-current-screen whose values are rate and submit. If you were to load index.html in your IDE, you will notice that there will be a button tag that is commented out, by uncommenting it this button will be available for use. Use it to force the transition from one screen to another.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Liarley Dantas's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License