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

Desktop-First using HTML and Flexbox

@Ryoma1512

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


Tips for improve responsive design

Community feedback

Haziq 320

@zyq-m

Posted

Hi Ryoma.

Well done. You completed the challenge. It was close to design. I notice that your container does not centered well. Here my tips for fix this:

  • remove width of the body instead put the height height: 100vh;
  • center container using grid body { display: grid; place-items: center; }

I think that's it. Feel free to take a look at my code. I've done this challenge.

Almost forgot. Here my tips on responsive design:

  • go for mobile first then desktop
  • use media queries
  • be familiar with flexbox and css grid

Feel free to watch this https://www.youtube.com/watch?v=0ohtVzCSHqs&t=270s

Happy coding!!

Marked as helpful

0

@MojtabaMosavi

Posted

1- Spend some time reading about mobile first approach. 2- Test your solution thouroghly in the browser's responsive mode before you submit it.

Keep coding :=)

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