How to link CSS to HTML on Github - html

I have been trying to code a website, however, my CSS link is not working as my website only displays my HTML. I was wondering if I had linked it incorrectly or if there was a specific way I have to link for Github.
Thank you!
index.html
<link rel="stylesheet" type="text/css" href="assets/css/style copy.css/">
HTML Code

Related

Cannot link html/css pages

I have 3 pages:
index.html
pages/top-ten.html
pages/contact.html
My CSS code is in
css/css.css
Everything is fine with the index.html but when I copy the code to the other 2 pages the CSS isn't responding to that.
I'll attach snippets of the code index.html
Change
<link rel="stylesheet" href="./css/css.css">
to
<link rel="stylesheet" href="../css/css.css">
This will find the css file from those files which are one level deeper in the pages folder.

github pages doesn't display css for index.html but display for others

I read different questions on stackoverflow regarding this issue but i haven't got any solution for my case, the rest of my pages are displaying css well, but index.html doesn't display.
But surprisingly when i run my project locally it works very well.
What am i missing?
My github pages link :
https://huxaiphaer.github.io/-Ride-My-Way/index.html
My github project link , in the branch gh-pages:
https://github.com/huxaiphaer/-Ride-My-Way/tree/gh-pages
Your href was wrong for your css import. You were navigating up more folder.
<link rel="stylesheet" type="text/css" media="screen" href="UI/css/index.css">

Beginner: CSS and HTML working in Atom but not in GitHub

Total beginner here looking for plain English answers :)
I managed to successfully link my HTML and CSS sheets when using Atom and viewing the files in my browser, but now I'm trying to get this into my GitHub pages website and I can't make it work at all!
Here's the HTML: https://github.com/isbonnici/isabellabonnici.github.io/blob/master/index.html
Here's the CSS: https://github.com/isbonnici/isabellabonnici.github.io/blob/master/CAstylesheet.css
What am I doing wrong? Really would appreciate the help here.
There is no css folder in your github account. Remove css/ from the css path. It should start working. Change
<link rel="stylesheet" type="text/css" href="./css/CAstylesheet.css">
to
<link rel="stylesheet" type="text/css" href="./CAstylesheet.css">

Why won't CSS in Github Pages not show up?

I am working on a Github pages site, a web game of sorts. It's called World, and it's on "worldfantasy.github.io". The game is being developed, and I'm using CSS to style the page. But Github won't recongize the file as CSS. The file is called 'main.css', and here's the code I use to link it to the 'index.html' file:
<head>
<link href="main.css" type="text/css" rel="stylesheet">
<script type="text/javascript" href="main.js" language="Javascript></script>
<title>World</title>
</head>
But when I visit the site, the CSS backgrounds and styling don't work. It's a plain html website. So my question is...How do I get this to work?

Link to CSS not showing up on my Git Hub gh-pages

For some reason my CSS is not showing up on my Git Hub page.
I read through some of the stuff that has been posted in the past but it don't seem to work.
Also, I have another project that I am working on shows up but for this particular project nothing is showing.
Could it be something wrong with my link tag?
<link rel="stylesheet" type="text/css" href="css/styles.css">
Please help.