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 responsive with @media

Mohamed 160

@MohamedAtTop

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


If you have any help please put it.

Community feedback

suhayb jirde 1,050

@suhaybjirde

Posted

Well done but i have little advice that some gave me when i submitted this challenge

            <div class="comp">
              <h3>10k+</h3>
              <p>companies</p>
            </div>
            <div class="temp">
              <h3>314</h3>
              <p>templates</p>
            </div>
            <div class="que">
              <h3>12M+</h3>
              <p>queries</p>
            </div>
          </div>

use ul of instead these div i it's not that much but it's good practice

Marked as helpful

2

ASEM-TOP 20

@ASEM-TOP

Posted

@suhaybjirde no you are not right

0
suhayb jirde 1,050

@suhaybjirde

Posted

@ASEM-TOP ok not problem to let you now pls read the comments of my this solution 🥰✌

0
Mohamed 160

@MohamedAtTop

Posted

@suhaybjirde Thank you for your help.

1
Adriano 34,090

@AdrianoEscarabote

Posted

Hi Mohamed, how are you? I really liked the result of your project, but I have some tips that I think you will enjoy:

The hero image has a color slightly different from the Figma design, if you want to match the color you can reach this using mix-blend-mode with mix-blend-mode: multiply;. The multiply will make the image blend the div background and the opacity will make the image less evident and improve the blend between image/purple div. See the code below:

img { 
    mix-blend-mode: multiply; 
    opacity: 0.8;
}

To improve the code structure wrap this div:

<div class="attribution">

with the semantic tag footer

The rest is great!

I hope it helps... 👍

0
ASEM-TOP 20

@ASEM-TOP

Posted

you are very bad

0
ASEM-TOP 20

@ASEM-TOP

Posted

well done ! You can be a SOLUTION for other people.

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