Design comparison
SolutionDesign
Solution retrospective
Please take a look at my code and leave some feedback.
Community feedback
- @Mr-jawPosted almost 2 years ago
Hello
Here are some tips that could improve the code
HTML 📄
- Since the rating buttons are a kind of input. rather using a link (
<a>
tag) you can use<input type="radio">
. This will help screen readers identify this as input.
CSS 🎨
- give your
.rating-container
a width of 34em to make it look close to the desing provided.
Oher than that Your solution looks perfect
I hope this was useful 😊
KEEP GRINDING
Marked as helpful0@neew18Posted over 1 year ago@Mr-jaw Hi I just saw your comment. Thanks for the advice. I will fix them. I need to study input radio again cos I have never used like in this kind.
0 - Since the rating buttons are a kind of input. rather using a link (
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