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

Issue with responsive slider code challenge

i'm stuck on the responsive slider plugin (3/4) this is my code

<script type="text/javascript" src="jquery.wmuslider.js"></script>
  <script src="jquery.wmuslider.js">
    var options = {animation: "slide", navigationControl: false};

i'm sure this is right but when i go to check my work, it says (The variable 'options' is not set)

what i'm a doing wrong, Andrew any one help

2 Answers

J.T. Gralka
J.T. Gralka
20,126 Points

The variable declaration looks correct; I just retook the code challenge and passed it using the exact same line of code. It's possible you're not putting the line between the correct <script></script> tag...

O MY God!!

thank you for the reply!

but i reloaded the page on my mac and did everything again and it works know!

J.T. Gralka
J.T. Gralka
20,126 Points

Sorry you went through so much agony for naught! Nonetheless, I'm glad to hear that you passed the code challenge!

thank you!!