简体   繁体   中英

My Bootstrap Navbar toogler button is just showing not working

Here is my project structure and my navbar toogler button is appearing but not working while i'm clicking the toggler button. 在此处输入图像描述

The order of the scripts is wrong, first you must go jquery, popper and finally bootstrap, since bootstrap requires them, put them like this

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

The order of scripts tag must be:

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

bootstrap requieres jquery for some functions

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM