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

Flexbox Stats Preview Card Component

@aszcoding

Desktop design screenshot for the Stats preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hi everyone! I'm pretty confident in how this one turned out, but if you notice any ways I could have approached this better, please let me know.

Thank you!

Community feedback

@codewithpedro

Posted

Hi Ashley,

You did an amazing job with pretty much everything. I love the how the images crop from different angle depending on the screen size. I took a look at your code and your approached is solid.

There is a small nitpick you may want to change which is the media query. Currently you have a media query under another media query. They should be separate and you don't need to add "screen".

@media screen and (min-width: 768px){
   @media screen and (min-width:1200px) {
   }
}

Should look something like this

@media (min-width: 768px){
   //content here
}
@media (min-width:1200px) {
   //content here
}

Congrats on completing the challenge.

0

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