Navbar toggle collapse

Am trying to get bootstrap navbar toggle collapse to work on github. I can create the navbar, get it to collapse to a button on small-sizing, but it does not then toggle collapsed directory. Same code is working on desktop lite-server, but cannot get it to work on github. Any ideas gratefully received!

Running code is at



Hi Peter, I’ve seen you have recently made a commit removing the CSS. Therefore the bootstrap will not work as bootstrap requires extra styling via CSS and in most instances JavaScript.

Actual website: