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

CSS Grid, Flexbox, SASS (BEM)

bem, sass/scss, accessibility
Patrick•800
@PPechmann
A solution to the Art gallery website challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Happy to have completed another challenge :)

Takeaways:

  • I further learned how to position elements with CSS grid, as I mainly used grid-areas, which is tricky for this challenge.

  • Again realized how important it is to plan the entire project from the beginning, even down to the smallest detail. I spent unnecessary time rearranging code, because of a lack of attention to detail before I started coding.

Questions to the community:

  • If there are ways to structure the code more efficiently, I would appreciate if you let me know.

  • Do you code all mixins (SASS) before starting to code the layout or do you create them on the go?

  • What do you think is a better approach?: Coding the entire HTML markup and then move to styling or starting to code parts of the HTML (starting with the header, for example), styling it and moving on to the next section?

Thank you and have a great weekend! Happy coding :)

Patrick

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