Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 9 months ago

galleria-slideshow-site

sass/scss
P
toshirokubota•1,340
@toshirokubota
A solution to the Galleria slideshow site challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What challenges did you encounter, and how did you overcome them?

I wanted to populate the gallery dynamically. To do so, I had to first load all the thumbnail images then properly assign the grid areas to them using the image width/height. I am not sure if this was the best way to do it, though.

I found the layout of the slide page tricky. I first tried to do it with grid, but it could not cope with different screen sizes. I ended up combining flexbox, absolute positioning, and grid box. I would like to know how other people handled the layout.

What specific areas of your project would you like help with?

I would like to have comments/suggestions on how I implemented the masonry layout. I could not make it as compact as shown in the Figma design, and maybe I could use a column of flexboxes? Would it have been better if I used an existing library (e.g. masonry.js)?

But, really, any feedbacks are welcomed!

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 toshirokubota'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