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 Using jQuery Plugins Add a Sticky Navigation Bar Review jQuery Plugin Options

Say you want to link to the sticky plugin's JavaScript file. Assume that the plugin's name is jquery.sticky.js and that

why is my code not working? been stuck on this for a bit. Thanks, PC

2 Answers

Not sure what your answer was, but this one is pretty straightforward. It's just asking for the directory to the file, in this case:

<script src="js/sticky/jquery.sticky.js"></script>

Happy coding,
Leslie

agreed, however, the code you submitted, is the same as I have entered : Bummer! Unfortunately, that answer is incorrect. Skip Quiz Review Video Get Help Next Question Say you want to link to the sticky plugin's JavaScript file. Assume that the plugin's name is jquery.sticky.js and that it is inside a folder named sticky, which is inside another folder named js at the root of your site. Finish the code below to link the script to the site's index.html file: <script src=" "js/sticky/jquery.sticky.js" "></script>

Submit Answer

but it say's "bummer"............I tried it several times, what am I missing, some "small" detail , I assume?

Are you using quotes in your answer input? They are included in the question text around the input field, so you should not include them. Otherwise, I'm not sure what the issue might be.

somehow, it passed , while we were chatting.....? treehouse is strange like this (sometimes)....lol thank you my friend, PC

No problem! Good luck