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.
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
- Live Site URL: [https://charlton305.github.io/interactive-rating-component/]
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Javascript
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.
- Frontend Mentor - [https://www.frontendmentor.io/profile/Charlton305]