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

stats-preview-card-component-main

@ifdotcom

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

Alan 60

@Pound-Hash

Posted

Hi Fernanda. Your project is almost pixel-perfect. The one problem you have is the picture. You loaded it with HTML, but this doesn't allow for much customization. You'll need to load it with CSS if you want the color to look more like the design. When loading with CSS, you'll want to apply the linear-gradient value of the background-image property. You'll also want to apply the brightness value of the filter property. This will correct the coloring of the picture. Lastly, the image doesn't resize well to some middling resolutions. You'll want to apply the aspect-ratio property to it to correct this.

Marked as helpful

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