Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Request path contains unescaped characters
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

@Rexbrainz

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


Hello, please help me review my code for the challenge, I find them very helpful. Thank you.

Community feedback

Hassia Issah 50,670

@Hassiai

Posted

Replace <h3> with <h2> to fix the accessibility issue.

There is no need for the styling of the main and no need to give .container a max-width value.

To center the main on the page, add min-height:100vh; display: flex; align-items: center: justify-content: center; or min-height:100vh; display: grid place-items: center to .container.

For the color on the image, add mix-blend-mode: multiply to the img and change the opacity value to 0.8.

Use relative units like rem and em as unit for the paddings, margins and width values. For more on CSS unit click her

Hope am helpful.

Well done for completing this challenge. HAPPY CODING

Marked as helpful

0

@Rexbrainz

Posted

@Hassiai Yes you have been helpful, I appreciate your help.

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