Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Fylo dark theme landing page

@VincenzoMarcovecchio

Desktop design screenshot for the Fylo dark theme landing page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


I made quite a few errors out there i'm sorry i'm really new to this.. by the way ,my relative Url on background image is not loading on the pseudo element why?

Community feedback

Declan• 300

@declanslevin

Posted

Hi Vincenzo,

The relative url isn't working because it is expecting the 'images' folder to be in the same folder as your CSS file. You need to go up a level in the directory tree to get to the images folder correctly, e.g. url(../images/bg-curvy-mobile.svg);.

For relative paths, . points to the current directory, while .. points to the parent directory. You can chain .. together to go up several levels from your current directory e.g. ../../../folder/file.ext

1

@VincenzoMarcovecchio

Posted

hey man thank you for replying to me, you made my day, it's definitely something i have to practice and understand better :) thank you

0

Please log in to post a comment

Log in with GitHub
Discord logo

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