Design comparison
Solution retrospective
I cannot get the site to actually load. The text of one of the cards loads, un-styled. On local, it works perfectly.
Community feedback
- @DrMESAZIMPosted over 2 years ago
hi Holly
On how to successfully and easily upload your project you can have a look at this YouTube video
https://www.youtube.com/watch?v=BW0FCFV323s
Marked as helpful0 - @remyboirePosted over 2 years ago
hi @hhenske,
I didn't take a look at your code yet but for React with github you can use react-gh-pages. I used it for my last project and it's very easy. Do not forget to set your page to the gh-pages branch that will be created.
Don't hesitate to ask me if needed.
0 - @jonnywillreesPosted over 2 years ago
Did you build this component in react??
Edit: Never mind, after looking at your source code it seems you used react which is all set up for you locally, but when you host your code somewhere you need to make sure that the service you use (eg. GitHub Pages) supports hosting your build files.
0@hhenskePosted over 2 years ago@jonnywillrees so, I ran npm run build in VScode, updated the version to github, but the problem is in how to deploy.
My vscode version loads perfectly. On both github and netlify, when I try to publish, it is just loading plain text, no styling. It seems like maybe my index.html might be in the wrong place, and I keep reading about having it in my root. But I'm not sure how to change it to make it work.
0
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