Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive page using CSS

@ooluwatom

Desktop design screenshot for the Stats preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@VCarames

Posted

Congrats @ooluwatom on completing this challenge!

Card looks good!

For images, it's best practice to use the <picture> element, it eliminates the need for media queries and uses less code. Essentially it should look like this:

<picture>
   <source media="(max-width: )" srcset="Mobile IMG" />
   <img src="Dekstop IMG" alt="" />
</picture>

Marked as helpful

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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