Design comparison
SolutionDesign
Solution retrospective
Feedbacks will be appreciated.
Community feedback
- @zenab12Posted over 2 years ago
Hey @Ola , Congratulations for completing this challenge
My suggestions
- use unordered list instead many divs to make it more semantic :
instead of this:
<div class="stats-card"> <div class="stats-content"> <p>80K</p> <span>Followers</span> </div> <div class="stats-content"> <p>803K</p> <span>Likes</span> </div> <div class="stats-content"> <p>1.4K</p> <span>Photos</span> </div> </div>
use this
<ul class="stats-card"> <li> <p>80K</p> <span>Followers</span> </li> <li> <p>803K</p> <span>Likes</span> </li> <li> <p>1.4K</p> <span>Photos</span> </li> </ul>
- don't use height or width but use min-height and min-width instead to make it more responsive .to avoid wrap content outside card if it viewed in small screen
You make clean code ,semantic and responsive so Awesome and Keep Coding 💻😊
Marked as helpful1 - @jesufemiganPosted over 2 years ago
Awesome work! You can add letter spacing to the span tag in the "stats-content" class and increase the font-size
Marked as helpful1
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