javascript - Twitter bootstrap not working from local files -


when include script - loading bootstrap.min.js local file on disk, not execute browser code.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="js/bootstrap.min.js" </script> 

i know can find file, because if introduce misspelling in file name, chrome complains, otherwise not. same behavior ie-edge way.

however if include cdn network this:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> 

everything works fine. setup suggested in coursera course on bootstrap , seems work people, not all. kind of puzzled. there browser/internet setting preventing me executing bootstrap disk or missing?

just change

<script src="js/bootstrap.min.js" </body> 

to

<script src="js/bootstrap.min.js"></script>  

Comments