Full Stack MERN Web Development
Bootstrap HTML CDN Installation
Go to: Bootstrap Downloads to get the necessary files and links to make Bootstrap work.
- HTML CDN Installation
- This will add links to your website, for Bootstrap
- in the "CDN via jsDelivr" section, copy both lines of code,
- one is for the css,
- and the other is for the javascript
- paste the "CSS line into the header of your website
- paste the "JavaScript" line of code into the body of your website
- *note This must be below all other lines of code, right before the closing body tag.
- **NOTE - There are two possible lines of code for the JavaScript,
- bootstrap.min.js is a minimum version of javascript
- popper.min.js is a version that supports more javascript features such as dropdowns etc.
- if you want to use the extra features of the popper version,
- you must copy both javascript links and paste them into the body of your webpage
- ALSO, the popper link must be placed right above the .min link in the body of your code.
- in the "CDN via jsDelivr" section, copy both lines of code,
- To ensure Bootstrap is installed correctly,
- rt.click on webpage, select inspect
- select network
- select All from buttons
- Refresh the page
- under Status, for bootstrap.bundle.min.js AND bootstrap.min.css
- both should show 200 for CDN Installation