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
- Semantic HTML5 markup
- CSS custom properties
- CSS variables
- Responsive layout
- Interaction with pure JavaScript
I was able to put into practice semantic HTML in the structure of the components and create custom attributes for the tags.
I reinforced the development of variables and media queries in CSS.
In JavaSscript, the interaction of numeric buttons and the submit button that is only active after clicking on any numeric button that contains the custom attribute.
- Frontend Mentor - @andrebdasilva
