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

JavaScript jQuery Basics (2014) Creating a Mobile Drop Down Menu Perform: Part 1

Tommy Tayler
Tommy Tayler
11,549 Points

Select bar at not showing up

Hi there,

I've been following along but right at the end when i go to test the program, the select bar is no where to be seen.

I've looked to see if I've made any mistake but i may just need a fresh set of eyes to look over.

https://teamtreehouse.com/workspaces/23455442# This is my code, However reading the other comments it may be private, if it is please help me to show it

Thanks Tommy

Tommy Tayler
Tommy Tayler
11,549 Points

I did find a ) missing at the end, however it still doesn't work. so It may be a simple mistake somewhere

Steven Parker
Steven Parker
229,744 Points

You provided a direct URL to your workspace, which was temporary and only existed while you were using it.

:information_source: But you can use the snapshot function in the workspace and provide the link to that.

2 Answers

Steven Parker
Steven Parker
229,744 Points

It looks like jQuery isn't being loaded.

Check the line where you bring in the jQuery code:

    <script src="//https:code.jquery.com/jquery-3.1.1.min.js" type="text/javascript" charset="utf-8"></script>

It looks like part of the URL got scrambled up a bit. Those two slashes should come after the colon:

    <script src="https://code.jquery.com/jquery-3.1.1.min.js" type="text/javascript" charset="utf-8"></script>
Tommy Tayler
Tommy Tayler
11,549 Points

Brilliant, thank you very much, It works now