Room Homepage Challenge
Design comparison
Solution retrospective
This only took me a few hours to build and I think it looks great. I'm definitely learning a lot by continuously going through challenge after challenge.
What challenges did you encounter, and how did you overcome them?The mobile menus are always tricky, but it was easier to tackle that after creating components out of blocks of that code.
What specific areas of your project would you like help with?Code organization and responsiveness of this site. It looks good on mobile and desktop, but not much in between.
Community feedback
- @MikDra1Posted 4 months ago
To make your layout truly responsive I advice you to use this technique:
.container { width: min(1440px, 90%) }
This ensures that the layout won’t get bigger then 1440px but on smaller screens it will be 90% of the viewport . The min() functions takes the smaller number.
It is the same as:
.container { width: 90%; max-width: 1440px; }
Hope you found this comment helpful ❤️
Good job and keep going 😁😃😉
0@robcrockPosted 4 months ago@MikDra1 awesome! Thank you. This will be super useful 😁
0
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