I’m having a weird issue with linking my index.html file to my CSS style-sheet. This has never happened befor! In my desktop text editor, when I link to my CSS style-sheet (styles.css) in my tags, everything works, however the same is not happening in GitHub. For the life of me, I cannot understand why! And everything is in the same repository directory, so I can’t figure out what the problem is! View my GitHub here: https://mtzioncode.github.io, of which my html source code is here: https://github.com/MtZionCode/MtZionCode.github.io/blob/master/index.html Thanks in advance for your help!
<title> <head> <link rel="stylesheet" type="text/css" src="styles.css"/> </head> </title>
title element should be a child of your
head element, not vice-versa.
@lionel-rowe, I committed that change and it’s still not working…weirdest thing ever! https://mtzioncode.github.io
Take a look at the end of your
<link rel="stylesheet" type="text/css" src="styles.css"/>. It may be your
/ causing the problem even link is a self closing tag and you can add it/or not at the end.
@sorinr, just committed that too…still doesn’t work!
<link rel="stylesheet" href="styles.css">
take a look at your code. i just saw it:
<head> <title> <head> <link rel="stylesheet" href="styles.css"> </head> </title> </head>
get the link to the style sheet out of there and put it after the
Hope you noticed you have a nested
<head> within another