+ 1
Why is my code not bringing a collapse effect???plz help
3 ответов
+ 8
The problem is most likely with some of your scripts. I changed them with latest scripts from bootstrap 4 reference docs and everything worked.
https://code.sololearn.com/WV03D0DofuAr/?ref=app#html
https://getbootstrap.com/
https://getbootstrap.com/docs/4.0/components/collapse/
+ 1
jQuery was not identified and type="text/JavaScript" for Bootstrap js
https://code.sololearn.com/WIRGW1DblZYc/?ref=app
0
Check your <head> section, remove some extra spaces, remove type=..... or write this correctly (find out online how to do) or just copy and swap with that below <script src="https://code.jquery.com/jquery-3.1.1.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
Hope it will help.