Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


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>