f / atom-bootstrap3

Twitter Bootstrap 3 Snippets for Atom
MIT License
80 stars 34 forks source link

atom-bootstrap3 cdn links included not working #4

Open ahjashish opened 10 years ago

ahjashish commented 10 years ago
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>

Both the css and the script links give error in browser console.

Failed to load resource: net::ERR_FILE_NOT_FOUND
c0b41 commented 10 years ago

replace http://

shantam3 commented 9 years ago

Your links are missing the http:

http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js

bhhaskin commented 9 years ago

// allows the browser to use the same protocol that was used when accessing the page. so if you access the page using http then the // will be accessed also using http//. useful for having content that can be either http or https. The problem you are having is more than likely due to trying to access the page locally. The protocol being used is file so it attempts to access file// for the cdn.

BRIGHTON-ASUMANI commented 5 years ago

it doesn't work i have tried multiple times