Single-page design portfolio | youngmelis Solution
Design comparison
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
- @elaineleungPosted about 2 years ago
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 yourindex.html
, try eitherapp/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 helpful0
Please log in to post a comment
Log in with GitHubJoin 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