Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

HTML & CSS Github issues

papodee

New Coder
Hi! Im new to coding and im working on a school project, a website in HTML and CSS. I want to upload the whole file to github so the link " https://username.github.io/ " works but it doesnt work. I have tried atleast 5 different youtube tutorials but it just doesnt work. My files are in the repository but the link doesnt work and its frustrating af. Could someone with experience please help? I can screenshare on discord or whatever, just want this to work.
 
You can't just upload files and expect GitHub to show you.
With GitLab, you need a CI runner that will package it so that the web server can read it. How exactly GitHub handles this I can't tell you because I avoid this service, but I think it's not that different.
 
I use GitHub web interface to upload files. I just click "upload" and drag and drop files in provided box.

There are also GitHub managers in a form of local applications. I didn't use them, though.
 
Did you follow the steps exactly as laid out on the Github Pages website? There's a step by step guide if you scroll down.

I just went through it step by step and it seemed to work fine for me: https://edenwax.github.io/

Things to note: your repo has to be named correctly (yourusername.github.io). I'm also not sure if it works if you upload the files directly from the website.

If you have any questions just shoot me a DM on here.

Good luck!
 
Back
Top Bottom