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 using flexbox

@nina1234567896

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 fellow coders! Any improvements i can make on my code?

Community feedback

hitmorecode 6,230

@hitmorecode

Posted

You don't have to use <br> to create space between elements use margin instead. Using <br> like this is not really good practice. Try to avoid this when possible

</main>
 
<br>
<br>
<br>
<br>
<footer>

Marked as helpful

1
Aimal Khan 2,260

@Aimal-125

Posted

In your CSS code, increase the height of body element to 120 or 150vh by using media query with max-height: 400px; so that your solution look good on screens with small heights.

0

@nina1234567896

Posted

@Aimal-125 thankyou! i am having trouble making it look good in all devices using rel units

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