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

Workit Landing Page: SASS, CSS grid, flexbox and position.

accessibility, sass/scss
Dilhan Boca•220
@dboca93
A solution to the Workit landing page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


I found this project difficult in parts. I would’ve liked to use more semantic html; but wasn’t sure where this would have been appropriate, so I opted for divs instead.

CHAT GPT recommended using the section element for “hero__section”, “banner__absolute”, “middle__section”, and “bottom__section”; although I’m not sure if this would have been the correct approach. It also suggested using the article element within “flex__container” for each of the three boxes (which are shaped with grid, by the way.) If anyone could provide some more info on the proper use of semantic html in this context, that would be great !

For the “middle section” I had to position: relative; and z-index: -1 while also playing with margin-top / padding-top in order to get into to smoothly sit below the purple section above with the curved bottom. If anyone has any ideas on how to do this more efficiently, I would love to find out.

I had difficulty using the fonts with the @font-face method; I tried this in multiple iterations, but still couldn't get it right. If someone could provide some help with this, it would be much appreciated. Eventually, I used the links in my header as a way around this difficulty.

I would love to hear any feedback, critical or otherwise.

Regards, Dilhan Boca [email protected]

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 Dilhan Boca'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