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


Navigation in Foundation 5 no working

Hi Guys, I put the code in the following link CODEPEN: [http://codepen.io/caprisci/pen/iCaIm]

Also a live version on this link: ( this version will automatically update while working on the link above) [from me. also I think one more person also can edit. not sure unless you have a pro account.] [http://cdpn.io/v/iCaIm]

Here is the lessons in Teantreehouse: [http://teamtreehouse.com/library/framework-basics?utm_source=Treehouse+Announcements&utm_campaign=f01b687b9b-New_in_Foundation_51_7_2014&utm_medium=email&utm_term=0_af3ceedc45-f01b687b9b-33495277#what-s-new-in-foundation-5] I'm on: Prototyping with Foundation > Building a JavaScript Dropdown Menu and Orbit Slider I stop righ after Guil finish teaching the drop menu. 4:37 On my version is not working. Nothing drop down when hover the link :(

Didnt want to finish the vide until i can make it work.

Your help is very much appreaciated in advance. Thanks guys.

1 Answer

Sander de Wijs
Sander de Wijs
Courses Plus Student 22,267 Points

Hi Carlos,

You have added the 'has-dropdown'- class to an <ul> tag. You should add it to a <li> tag and after this a <ul class="dropdown"> tag like so:

<section class="top-bar-section">
  <ul class="left">
    <li class="has-dropdown"> <a href="#">diensten</a> 
      <ul class="dropdown">
        <li> <a href="page.html">webdesign</a> </li>          
        <li> <a href="#">projectmanagement</a> </li>
        <li> <a href="#">consultancy</a> </li>