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
- Solution URL: Johnsonworld Interactive-Rating Solution
- Live Site URL: Johnsonworld Interactive-Rating Live Site
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- Javascript
Feeling pretty comfortable in HTML & CSS, this was my first HTML, CSS & Javascript challenge - so the integration process was a good experience.
I struggle trying to match the colors to the preview images, I think due to my monitor settings. Next time I'll try upgrading so I can get the Figma files and have more certainty.
CSS custom radio buttons - should have done the star selectors with this but couldn't get them to customize correctly. I think it was because I started out just using buttons and then tried to convert to radio buttons. If I did it over I'd start fresh and try to do the custom radio buttons, taking care of that functionality for only allowing one button to be clicked at a time. Ended up having to do that in JS.
My use of Git/Github getting much more consistent and clean!
- Need to get much more practice in Javascript fundamentals particularly Get/Set and Document methods.
- It's not pretty right now - but it works. Would like to write cleaner and more efficient code.