Design comparison
SolutionDesign
Community feedback
- @RubylenaPosted about 2 years ago
A few suggestions:
- you can use the very-dark-blue for your card background.
- Light grey for the star background and the numbers, you can use
hsla()
function to have control of color opacity. - To display the selected vote on your results page, you need to use javascript insert the vote in your ratings by inserting this line in each of your selected functions.
vote = '4'; document.getElementById('rating').innerHTML=vote;
With this there is no need to return each of the vote.
Marked as helpful1@lumon2004Posted about 2 years ago@Rubylena thank you very much especially for the last tip, the JavaScript one, I really didn't know how to get over that thing but now I'm gonna try your solution, thank you! Edit: Just to keep you in update, it worked!
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