2

My Portfolio loads perfectly fine when I open on my local machine, But when am trying to create a GitHub page non of the links works apart from the HTML. I used the GitHub pages on different projects earlier, it works absolutely fine but it doesn't load here, can anyone help me out. I tried various ways still it's the same.

Thank you

Here is my GitHub link https://github.com/Stellah-Avanthi/Portfolio-Project, I created a repo, But it doesn't seem to load on GitHub pages

1 Answer 1

1

In the second case, you are referencing your css files as:

        <link rel="stylesheet" href="css/normalize.css">
        <link rel="stylesheet" href="css/custom.css">

But you don't have a css folder in your repository.
So none of your stylesheet is loaded.

In the first site, you are using

    <link rel="stylesheet" href="styles.css">

That works just fine, considering style.css is right next your index.html file.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.