Skip to content

Blaze99git/interactive-rating-component

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Table of contents

Overview

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

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Javascript

What I learned

I gained a better understanding of flexbox. I learnt how to change a classes properties on a listener event so I could hide the ratings card and display the thankyou card upon a click event. I also learnr how to remove focus from a button by using the blur() method which I had not come across before. This is my project using Javascript to add functionality and im very pleased with how it went.

Author

About

This was a challenge to build a webpage that show a ratings card followed but a thankyou card upon a submit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 53.0%
  • HTML 35.7%
  • JavaScript 11.3%