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:
- 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
- Solution URL: Add solution URL here
- Live Site URL: Add live site URL here
I must say that the experience was both challenging and rewarding. While working on the project, I faced a few difficulties, particularly with JavaScript. I struggled with accessing the value in radio buttons. It took me longer than I expected.
Another hard part was styling the radio buttons. I discovered that they can't be styled by themselves, so I hide the element and used pseudo-element :before to create a button that can be styled.
- CSS custom properties
- Pseudo-elemnts
- get data from forms with JS
- Style radio buttons with pseudo elements
- Style elements using JS