To start, make sure to create the necessary files within your project directory.
/my project
.
. index.html
.
. /resources
. .
. . bootstrap.css
. . jquery.js
. . bootstrap.js
Once you have these three files set up, visit the provided href links from your <link>
and <script>
tags, and simply copy and paste the contents into each one:
For Bootstrap 3.4:
https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js
After pasting the content in each file, include them using the following code:
<link rel="stylesheet" href="/resources/bootstrap.css">
<!-- jQuery library -->
<script src="/resources/jquery.js"></script>
<!-- Latest compiled JavaScript -->
<script src="/resources/bootstrap.js"></script>
If you prefer offline installations or wish to customize your Bootstrap bundle (e.g., with sass mix-ins for custom variables like breakpoint widths), Bootstrap's website offers instructions for downloading and compiling different versions:
Bootstrap 3.4 https://getbootstrap.com/docs/3.4/getting-started/#download
Bootstrap 4.3 https://getbootstrap.com/docs/4.3/getting-started/download/