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

Fylo Dark Theme Landing Page Solution

react, vite
FriedAxons•310
@FriedAxons
A solution to the Fylo dark theme landing page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


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

Just seeing the fact that I've made much progress in learning and building projects since when I started at the beginning with basic html files is pretty cool. And maybe one day I could sustain myself and be comfortable in my situation doing something like this.

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

Figuring out how to set up the live page with the React app using Vite. Learning about setting up the base path in the vite.config.js and adjusting the img src paths so images would display correctly as well as adding the necessary scripts to the package.json. Also, seeing how building and deploying works to host a live page using Vite/React.

Another obstacle at some point was adjusting a background color to expand to where it needed to, on the mobile version. This was resolved using the ::before pseudoclass on the container to then position the extra bit of background color needed using absolute positioning.

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 FriedAxons'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
Frontend Mentor logo

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

Frontend Mentor

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

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