Design comparison
Solution retrospective
When I placed it in the repository, and clicked the site none of my CSS showed up but in VSCode everything worked fine. Hardest part was trying to fix the Repositorything and I still never fixed it.
Community feedback
- @Dinil-ThilakarathnePosted over 1 year ago
Here are a few steps you can take to try and fix the issue:
-
Double-check the file paths for your CSS file. Make sure that the link in your HTML file points to the correct location for your CSS file. If you're not sure what the correct file path is, try using an absolute file path (e.g. /css/style.css instead of css/style.css) to ensure that the link is correct.
-
Make sure that your CSS file is included in your repository. If your CSS file is missing, GitHub Pages won't be able to load it.
-
Check that the file names are correct. Make sure that the file names for your CSS file and HTML file match exactly, including capitalization.
-
If you're still having issues, try using a relative file path in your link to your CSS file. For example, if your HTML file and CSS file are in the same directory, you could use href="style.css" instead of href="/css/style.css".
Hopefully, one of these steps will help you resolve the issue and get your CSS displaying correctly on your GitHub Pages website. Good luck!
1 -
- @Great-kiolaPosted over 1 year ago
Hello, when I cloned your repo, here's what i discovered
- your link tag to the CSS should be in head
- and for the qr code image you are not pointing to the correct file. put this under the container div
0@BolleyBPosted over 1 year agobro thank you so much. I really appreciate it. I was wondering why I was having this problem I'm about to post another one. IF you would'nt mind checking over this one as well it would be dearly appreciated. @Great-kiola
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