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

Flex

Lukasβ€’ 50

@Lolex3366

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


Its make me Happy to Code this Challange ! great side with a nice Community.

Community feedback

Lucas πŸ‘Ύβ€’ 104,420

@correlucas

Posted

πŸ‘ΎHello Lukas, congratulations for your new solution!

Here's some tips to improve your solution:

The correct size for the container is max-width: 1110px not that you don't need to set the height in this case, the container height grows with its inner elements.

.container {
    width: 1110px;
    height: 400px;
    background-color: hsl(244, 38%, 16%);
    display: flex;
    border-radius: 15px;
}

To write less code you can apply the purple overlay effect in the photo using mix-blend-mode: multiply and an opacity around opacity: 75%.

To create the mobile version for this challenge you need to create a media query with flex-direction: column-reverse; inside the container to have the container vertically and the image in the first row/block.

πŸ‘‹ I hope this helps you and happy coding!

Marked as helpful

3
Lukasβ€’ 50

@Lolex3366

Posted

Again nice help Lukas, wehere do you see the right width ? in the style guide i dindt find it :) And wich tipp do you have to lern javasript fast as posibil

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