If you wish to utilize bootstrap files offline, simply download the necessary files onto your computer.
- Eliminate the text from https up to just before the main file
- Delete the contents of integrity & crossorigin attributes
- Voila! Now you can access bootstrap files without CDN links.
- The reference links & sheets will not function until the integrity & crossorigin attribute contents are removed.
Try this trick out and let me know if it worked for you.
i.e
<link rel="stylesheet" href="bootstrap.min.css" >
<script src="jquery-3.4.1.slim.min.js" ></script>
<script src="popper.min.js"></script>
<script src="bootstrap.min.js" ></script>
Ensure that the bootstrap files are placed in the same folder as the HTML files so that the relative path is maintained. If you have saved the bootstrap files in a separate folder, provide the src="foldername/filename"
path.