Design comparison
Solution retrospective
Any feedback or suggestion would be appreciated.
Community feedback
- @correlucasPosted about 2 years ago
๐พHello Shady , Congratulations on completing this challenge!
Here's some tips to improve your solution:
REMOVE THE
MAX-WIDTH: 1440PX
TO ALLOW THE CONTENT TO GROW:main { display: flex; /* max-width: 1440px; */ }
Note that these sizes given in the
style-guide.md
in the case 1440px for desktop and 375px are only a reference value to say in which dimension the design were created, don't stick to these values because your solution should be fully responsive and fit any screen size.Add the background image to the
body
not thecontainer
otherwise the bg will not display it full screen:body { background-repeat: no-repeat; background-image: url(images/bg-pattern-desktop.svg); font-family: 'Josefin Sans', sans-serif; margin: 0px; width: 100%; overflow-x: hidden; padding: 0px; display: flex; align-items: center; justify-content: center; min-height: 100vh; flex-direction: column; }
โ๏ธ I hope this helps you and happy coding!
Marked as helpful0 - @UrbanskiDevPosted about 2 years ago
Hello Shady Omar !
Congratulation for finishing this project
Some suggestions :
-
In your HTML file, you can change
<div class="header">
to an<header>
, because a div tag has no special meaning while an header tag have one. -
For the mobile responsive part, I would add a
min-width:300px
to avoid your main component to shrink too much in size when the screen becomes smaller !
Otherwise, you did a really good job !
I hope it helps, keep learning and happy coding !
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