Stuck on navigation bar spacing and collapsed menu drop down - Portfolio Project

Stuck on navigation bar spacing and collapsed menu drop down - Portfolio Project
0

#1

Hi everybody!

I’m also done making my portfolio page but have gotten stuck. I added a navigation bar that adjusts to a collapsed drop down menu. I read that adding a duplicate of your navigation bar and hiding it is a good way to deal with spacing issues for navigation. I had tried just adding a margin at the top, but it seemed a bit messy. Adding the duplicate navigation bar helped with spacing but seems to have taken away functionality of my dropdown menu.

I’d love to hear your thoughts and advice!


#2

Hi mfrazb,

Sorry about the delay. checked your pen, nothing is wrong, you just forgot to add two dependencies!!

https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js
https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js

Add em in this particular order, your menu should function properly. :slight_smile: