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!

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 jQuery Basics (2014) Creating a Mobile Drop Down Menu Perform: Part 1

Error and no select bar.

Right in the beginning of this video we add 2 lines of code to the app.js folder...

var $select = $("<select></select>"); $("#menu").append($select);

After this code is entered he does a preview and the select box is already in place.

When I did the same the new select box was visible so I checked in the console to find this error message.

Blocked loading mixed active content "http://code.jquery.com/jquery-1.11.0.min.js"

Is this normal? Did I miss the addition of some code along the way?

Thanks! Stephen

3 Answers

Pau Manrique Roca
Pau Manrique Roca
6,370 Points

I was having trouble making this work, the solution I found was replacing the src in the <script> tag (inside index.html) changing




Thanks Pau,

This solved the issue.


Purvi Agrawal
Purvi Agrawal
7,960 Points

Thank U Pau !! I was facing the same issue and ur solution made it work :)

Stephen Bolton
Stephen Bolton
Front End Web Development Techdegree Student 7,933 Points

Also worth noting because it was frustrating for me. In my version of Chrome the Select bar doesn't show up unless it has options inside of it.