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

First Challenge using only HTML and CSS

@harryHerdiana

Desktop design screenshot for the Order summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I would like to know more about responsive design, how we specify the min or max media query when the requirement on the project (for example) is Mobile: 375px and Desktop: 1440px?

Community feedback

Davide 1,725

@Da-vi-de

Posted

Hi, you don't need to worry about the exact design size, it's not a requirement, it means that at that width your project should look like the design!

  • If you work with dev tool open (on responsive mode) in your favorite browser then start coding at 350px , although the smallest mobile screen width should be 320px. Once you've finished increase the width until you see the UI is changing too much, usually that happens at around 500px (tablet width), be aware that there are projects here on FEM with tablet design as well, in many of them you need to change or add things! You repeat the process for all the main breakpoints 768px, 900 and something and so on... This way of working is called mobile first.

  • When it comes to responsive design the hardest thing to do is making good development choices since the beginning, those choices can make the difference throughout the project.

Hope it helps a little, keep coding :-)

Marked as helpful

1

@harryHerdiana

Posted

@Da-vi-de Hi, thanks for your explanation. So I should start from mobile first. But did you know in my submitted solution the content is scaling when the resolution changes? It make some text overlapped, until reach certain resolution on media queries that I specify the styling to fit that resolution.

0
Davide 1,725

@Da-vi-de

Posted

@harryHerdiana That is quite normal! As i stated above the design breaks because it changes the resolution so you need media queries, but what you did in your project is coding first for a large screen, it should be the opposite!

Marked as helpful

1

@harryHerdiana

Posted

@Da-vi-de Thank u so much Davide!

1

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