Responsive designs for both mobile, desktop and tablet views
Design comparison
Solution retrospective
I would appreciate any useful tips for my CSS styles and JavaScript codes in general.
Community feedback
- @buneeIsSloPosted over 2 years ago
Hi! @PriscaTonia, Great job on this one, your webpage looks clean and responds very well.
I want to suggest one simple change, rather than setting a default rating to
1
, you can just disable the submit button by addingdisabled=true
in the HTML. Once the user provides a rating, you can enable the submit button like so:submitBtn.disabled = false
.Also, wrap the
main-container
in the<main>
tag instead of the<div>
tag. This should remove all of your accessibility issues.Hope this helps :)
0@PriscaToniaPosted about 2 years ago@buneeIsSlo This was helpful :). Thank you so much for your suggestion, I would apply them.
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord