Design comparison
Solution retrospective
Hi everyone,
Hope you have a nice day. This is my 4th exercise on Frontendmentor. I would like to receive your comment and feedback for my solution.
I wonder what is the best practice to implement the five stars review? I've just used 5 div for 5 stars. I think it is not a good way to do that.
Many thanks.
Community feedback
- @MojtabaMosaviPosted over 3 years ago
Well done, regarding your query:
There are two ways to implement it the first being the way you've done but to make it more semantic, the container would be a i tag rather than a div. The second way is to have a cotainer and the stars as the background. In my opinion there is no big difference between them, it's only a matter of taste and prefernce.
Keep coding :=)
Marked as helpful0 - @tttinhPosted over 3 years ago
Thanks for your kind words.
I am really appreciated. Happy coding :)))
Best regards.
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