Design comparison
Solution retrospective
The fact that I do not to write any media queries while making my code responsive.
What challenges did you encounter, and how did you overcome them?I encountered some issues in making the design as similar to the original as possible but I was able to fix this using width percentage.
What specific areas of your project would you like help with?I need to learn to write lesser amount of CSS code to achieve the same result.
Community feedback
- @anisbenyPosted 7 months ago
good work, but just to add padding for your image you need to add padding for your header. and if you have a 100% width image, giving it margin does not change anything, and also to write fewer lines of code you just need to remove the justify-content:center; and align-item:center; properties and give padding-left for your main and like that you will remove the width and margin you gave your sections and you will have the same rendering as the challenge.
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