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

Single-page design portfolio | youngmelis Solution

@youngmelis

Desktop design screenshot for the Single-page design portfolio coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


I don't why the js (slider) works in my local vite site, but it doesn't work in the netlify build. In the console it says "Failed to load resource: the server responded with a status of 404 ()" for both my js files even though my directories seem right

Community feedback

Elaine 11,400

@elaineleung

Posted

Hi youngmelis, about your question, try removing the slash before the path, as "/" indicates root folder. Since the app folder is in the same directory as your index.html, try either app/main.js or ./app/main.js. Anyway, the site looks good! You can also try adding some more block (top and bottom) padding/margin to the sections to space them out a bit more like the design.

Good luck getting the files to work!

Marked as helpful

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