Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

BootStrap navbar toggle not working

Hi guys am trying to make the default bootstrap navbar work but the toggle dosent seem to work i don't really know why

<div class="navbar navbar-inverse"> <div class="container"> <div class="navbar-header"> <a href="" class="navbar-brand">My Website</a> <button type="button" class="navbar-toggle" datatoggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <div class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li class="active"><a href="">Page 1</a></li> <li><a href="">Page 2</a></li> <li><a href="">Page 3</a></li> </ul> </div> </div> </div>

https://jsfiddle.net/36a7sjwq/