Help with portfolio Page

Help with portfolio Page
0

#1

Okay guys I’ve been trying to get this work for about 2 hours now read all the docs I could find even copied and pasted code from bootstrap. I need a little help.

The simple problem is getting my navbar to collapse and then be responsive on mobile. I’ve got the collapse part figured out it looks right the only thing I need now is for the button to actually toggle the navbar open and closed.

Here is the codepen: http://codepen.io/goofydad21/pen/oYgKWb

Do I need to write a jquery function or something for it to work?
Thanks for any help! :slight_smile:


#2

Hello, you have to include jquery.min.js and bootstrap.min.js from bootstrap.
When your project is in the disk you write the path to js file, for example
<script src="bower_components/jquery/dist/jquery.min.js"></script> <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>


#3

Thank you for the reply! So those two script tags need to go in the javascript box correct? After making sure bootstrap and jquery are in my settings for javascript?

Thank you for the help!!


#4

These two lines are necessary for bootstrap navbar. It will not work correctly without them. But working in CodePen you should put CDN links there.
You are welcome )