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

Using GridCss and Flexbox in this exercise

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


Ignored tags. Need Help, in the img: How i can to have the color same of challenge in css?

Community feedback

@Harshi786

Posted

Hey!

Congrats on completing the challenge.

Your code looks good but few more tips to make your image looks perfect:

-Separate CSS properties for div and image.

  1. For div of image,
    .imgBox {
    background-color:hsl(277, 64%, 61%);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
  1. Now merge image with above div with mix-blend-mode:multiply property.
img {
     width: 100%;
     height: 100%;
    mix-blend-mode: multiply;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    opacity: 0.75;
}

Hope this helps :)

Marked as helpful

0

@Grillo26

Posted

@Harshi786 Wow.!! Thanks so much for help me! i Tried in my code and is equal to challenge.. one more time, THanks!

1
Karishma Garg 1,010

@karishma-dev

Posted

Hi, Your solution looks good.

Few suggestions:

  1. h1 tag should be used to declare the main subject, and heading of the page. So it should only be used once per page. You have used it in various places in this solution, so try to change it with div, span, or any other tag, and also if using section tag then specify a heading within to tell what the section is about. These will help you solve your HTML issues.

Regarding the image color, I myself couldn't figure it out, someone on this community will definitely help you out.

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