Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Only one copy of Bootstrap's JS should be included; currently the webpage includes both
bootstrap.min.js both contain the same code,
bootstrap.js in its original format, and
bootstrap.min.js in a minified format. So it is not necessary to include both. You should remove the duplicate
<script> tag from your webpage.
The original format (
bootstrap.js) is useful when debugging problems because it's human-readable. The minified format (
bootstrap.min.js) is useful for production deployments, because it is smaller in size and thus consumes less network bandwidth and downloads faster; however, it is difficult for humans to read.
bootstrap.min.js, but not both, should be included in your webpage.