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

HTML Framework Basics What's New in Foundation 5 Updating JavaScript

Alan Fidelino
Alan Fidelino
12,846 Points

Updating JavaScript - Foundation 5

Selection options appended and shows a bulleted list under the selection field in form modal.

I had a look in chrome dev tool and found the following code: and this div and child elements are added to my code dynamically, hence the weird look of the form modal with an unordered list appearing below the selection field. <div class="custom dropdown" data-id="1422576220688-P1nBN" style=""> <a href="#" class="current">iOS</a> <a href="#" class="selector"></a> <ul style=""> <li class="selected">iOS</li> <li class="">Android</li></ul>

</div>

I had a look at the code for the final stage and my start stage and they are exactly the same. I also looked into my js folder and have the same contents for both final and start stage. I cannot figure out where the mistake is.