Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
152 views
in Technique[技术] by (71.8m points)

web - bootstrap drop downmenu not appear

I currently learn bootstrap and basic web develop thing. but I meet some probleml.

here's code I trying to copy it.
https://github.com/jhu-ep-coursera/fullstack-course4/tree/master/examples/Lecture32/after

here's code I currently write.
https://github.com/KangYUNJAE/cousera-test/tree/gh-pages/mod3

I think it pretty same code but the drop-down menu for small screen seem's not working. what may can be a problem? please help..

question from:https://stackoverflow.com/questions/65622885/bootstrap-drop-downmenu-not-appear

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I think instead of manually connecting the bootstrap framework you should connect via its cdn

<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous"> 
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script>

You can check more about setting the bootstrap framework here

Also check if you have any error in your files as well


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...