Design comparison
SolutionDesign
Solution retrospective
Can you suggest an alternate way to get rating from the buttons? Feedback is appreciated!
Community feedback
- @gurkanozerPosted over 2 years ago
Hi @alirmemon37 , good job. Your solution looks good and work well.
My suggestion is you can use radio buttons instead of buttons. I think it's better way to do.
And you can give rates as value.
rating = Number(btn.textContent);
instead of this you can simply userating = btn.value;
Happy coding.
Marked as helpful0 - @shashreesamuelPosted over 2 years ago
Hey good job completing this challenge
Keep up the good work
Your solution looks great however I think that the card needs some padding around the content using
padding
.I hope this helps
Cheers Happy coding 👍
0
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