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

259
September 02, 2017, at 02:08 AM

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.

Answer 1

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">
Rent Charter Buses Company
READ ALSO
Display comments at the side of a running text in an html document

Display comments at the side of a running text in an html document

I'm generating some text and serving it to a web application using Bootstrap 3 and ES6

222
How do I float a link at the right of my nav?

How do I float a link at the right of my nav?

I want to create a "Log Out" link that floats to the far right of my navI have this HTML

210
jQuery too much recursion in ajax query

jQuery too much recursion in ajax query

I have this part of code which throw a too much recursion error in javasript console, i don't know how to fix itI'am using too jquery-ui-map :

427
Bootstrap 4.0 beta Scrollspy does not with a work well with Route angular 4

Bootstrap 4.0 beta Scrollspy does not with a work well with Route angular 4

I'm trying when I click on list group the page this does not refresh, I have a component called pagina-principalcomponent

302