Page not displaying css on github pages

Tell us what’s happening:

Would someone be willing to look at my code in my “landing-page” github repository to see why my css isn’t displaying on my github pages? It works fine on my other 2 github pages and it displays in code pen.



https://placidseven.github.io/landing-page/
https://codepen.io/placidseven/pen/NWKRZmz

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36.

I think you just need to change the CSS’s filename linked in the head tag of index.html to “index.css” instead of “style.css”

Or rename the “style.css” file to “index.css” on the file-level.

Oh my gosh! I knew it was something stupid. I forgot I had changed those file names when I imported them. I though it was a good idea for some reason. face palm

1 Like