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://admirable-brioche-8e58e1.netlify.app/
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
Learning how to use for loops and display a new section when clicking submit
proud of this for loop for each of the rating numbers
for (let i = 0; i < ratingValues.length; i++) {
const ratingValue = ratingValues[i];
- MDN
- stack overflow
- Website - https://github.com/LBuchananCates
- Frontend Mentor - https://www.frontendmentor.io/solutions/html-css-js-jHnmN9kilH