troubleshooting Question

link and script addition on Bootstrap

Avatar of izzyq
izzyq asked on
JavaScriptWeb DevelopmentCSSjQueryBootstrap
2 Comments1 Solution89 ViewsLast Modified:
Hello,

I am learning Bootstrap from W3Schools website.
When I add link and script, they recommend 'MaxCDN'.
so they add the following lines to <head> section.
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
 <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
However, some other sites add only
<link rel="stylesheet" href="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/css/bootstrap.css">
to the <header> section and add
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/js/bootstrap.js"></script>
to <body> section.
It looks like 'CDN', not 'MaxCDN'.

And if I use 'CDN', some of stuff work that work fine with MaxCDN don't work.
For example, Glyphicons examples don't work with CDN.

What's the reason for the difference between these two?
Should I just go for 'MaxCDN'?

I am using visual Studio 2013 for coding Bootstrap examples.(in case if you know the better solution with VS 2013)
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros