Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 2 years ago

Responsive Vanilla Room Homepage

P
Cassidy•160
@CMac450
A solution to the Room homepage challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


I decided to try going the vanilla route this time. For the hero slideshow, I set the div's background image and used JS to switch the image on button clicks.

I've initially gone with grid-template-areas to set the grid layout, but I think that I'm going to switch to using flex an flex direction with two separate divs to display as needed based on media queries. I can't quite get the bottom row to fit exactly like the design with my current solution.

If anyone has any thoughts, tips, or tricks to make the layout more similar to the design I'd love to hear them.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Cassidy's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License