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

Room Homepage Challenge

P

@robcrock

Desktop design screenshot for the Room homepage coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
3intermediate
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

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

MikDra1 6,050

@MikDra1

Posted

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

P

@robcrock

Posted

@MikDra1 awesome! Thank you. This will be super useful 😁

0

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