Anubhav-Ray / Interactive-Rating-Component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend Mentor - Interactive rating component solution

This is a solution to the Interactive rating component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

The challenge

Users should be able to:

  • View the optimal layout for the app depending on their device's screen size
  • See hover states for all interactive elements on the page
  • Select and submit a number rating
  • See the "Thank you" card state after submitting a rating

Screenshot

  • Unselected State Unselected State
  • Selected State Selected State

Links

My process

I first focused on implementing structure and deign to both Selected and Unselected components and then implemented JavaScript to toggle between both states.

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow

What I learned

  • This Project helped me in reinforcing my knowledge of JavaScript and also helped me in understanding how to work with hidden elements.It also helped me in understanding how to use event handlers in storing the user choice and display the required message to user.

  • I also learned how to give background circle to numbers.

Continued development

I am looking forward to improve my JavaScript skills and improve myself in making responsive websites.

Useful resources

Author

Frontend Mentor - @Anubhav-Ray

Acknowledgments

Thanks to Google for helping me to find solution whenever I got stuck.

About


Languages

Language:HTML 48.4%Language:CSS 39.1%Language:JavaScript 12.5%