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

mypurpleResponsiveCard

@ChriCass

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


I really like this project. I think my Flexbox design improve for the better. What do u think? what about my CSS code and my HTML structure? Thank u in advance :)

Community feedback

Hassia Issah 50,670

@Hassiai

Posted

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

For the color of the image, there is no need for a linear gradient, add background-color of soft violet, background-blend-mode of multiply and opacity of 0.8 to .box_2.

.box_2{
background-image: url();
background-size: cover;
background-color: hsl()
background-blend-mode: multiply;
opacity: 0.8;
}

Use relative units like rem or em as unit for the padding, margin, width values and preferably rem for the font-size values, instead of using px which is an absolute unit. For more on CSS units Click here

Hope am helpful.

Well done for completing this challenge. HAPPY CODING

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