itsnooshin / interactive-rating-component

This is my solution to the Interactive rating component challenge on Frontend Mentor.

Home Page:https://itsnooshin.github.io/interactive-rating-component/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

interactive-rating-component

Rec.0002.mp4

About The Project

This is a nice, small project to practice handling user interactions and updating the DOM.Perfect for anyone who has learned the basics of JavaScript!Your challenge is to build out this interactive rating component and get it looking as close to the design as possible. You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go

Users should be able to:

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

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flex
  • Desktop-first workflow
  • Vanilla JavaScript

What I learned

Initially, I couldn't figure out how to interact between the numbers and submit button in Dom elements. After practicing extensively with many resources, I finally figured it out, and I am glad I did.

Useful resources

  1. Figma - Paste your design image to check the size of containers, width, etc.
  2. Perfect Pixel - Awesome Chrome extension that helps you to match the pixels of the provided design.

About

This is my solution to the Interactive rating component challenge on Frontend Mentor.

https://itsnooshin.github.io/interactive-rating-component/


Languages

Language:CSS 45.5%Language:HTML 30.7%Language:JavaScript 23.9%