Nix7amcm / FEM-interactive-rating-component

Frontend Mentor Challenge | Interactive Rating component

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend Mentor - Interactive rating component solution

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

Table of contents


Overview

πŸ‘©πŸ»β€πŸ’» Frontend Mentor challenges help you improve your coding skills by building realistic projects.

⚑ This challenge was to build a rating submission card compenent, where the DOM is updated using JS when the user interacts with the elements.

πŸš€ I built this with the help of Andreas Remdt's live code video, mainly for the JS! I learned a lot about adding the user interaction in simple ways, also animation implementation and even adding sounds! I also picked up useful tips on responsiveness and accessibility.

Challenge Requirements

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

Screenshots


Links


My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • CSS Grid
  • JS

Useful resources

  • Tailwind.css - This helped me add fallback fonts to cover all browsers, and the sr-only class styles for accessibility.
  • Zapsplat.com - This is an amazing resource for downloading free sounds to use in your projects! Don't forget to credit them!

Author


Acknowledgments

Shoutout to Andreas Remdt. Really learned a lot from his video! Thanks! πŸ˜ƒ

About

Frontend Mentor Challenge | Interactive Rating component

https://nix7amcm.github.io/FEM-interactive-rating-component/


Languages

Language:CSS 51.4%Language:HTML 37.2%Language:JavaScript 11.4%