Design comparison
Solution retrospective
This one is very challenging for me! I could not make it well I think. Please give me any feedback to enhance this project. When I start increasing or decreasing width of viewport the challenge looks not reponsive until it reaches media queries. And how can I make fonts responsive?
Community feedback
- @gtalinPosted over 1 year ago
Congratulations on completing this challenege.
You enquired about your layout breaking. I have a few suggestions.
Using a container with a width of
60%
is not needed. Themax-width
of700px
is good enough.Instead of making the
container
as flex beyond375px
, you can apply a breakpoint at500px
or600px
by looking at the design and seeing what works for your layout. What you can do is that beyond375px
screen size and till you hit the next breakpoint, you can keep the container width exactly what it was (375px) and don't make the primary and secondary text sections50%
. Beyond600px
or whatever next breakpoint you choose, you can applymax-width: 700px
and apply flex so that the primary and secondary sections are side by side (even then you don't need to set a width of50%
on them because flex will take care of it.For the font, you can change the font size in the media query as well.
Hope this helps you in fixing your layout.
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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