Bootstrap 3 Essential Training, Creating a basic template using CDNs

By far the easiest way to install Bootstrap is to use the CDN code. Now this is a great option if you’re going to be using the standard Bootstrap version, because it will be faster for most of your users. A CDN is a Content Delivery Network, which means a place that hosts common libraries like Bootstrap.

Let’s go ahead and build a page with a minimal Bootstrap installation using CDN links. So I’ve got my Bootstrap folder opened up in my Text Editor, I’m using Sublime Text, and the first thing we’re going to need is a basic index.html page.  

So I’m going to go right here into my folder and select New File. And I’m going to call this index.html. And in here I’m going to type in some very basic HTML code, and now we’re going to need to add some additional links and HTML.

Now although you can get these from the Bootstrap website, I’ve created a special jest where you can get everything in a single place. So I’m going to go ahead and grab all this and copy it to my clipboard, and then come back into my page and I’m going to put these at the bottom of the page.

Leave a Reply

Notify of