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
Hippocrates Lychros
6,258 PointsUsing jQuery select the class “wmuSlider” and call the “wmuSlider” method passing in “options”
Hello All!! Can someone please let me know why the following code is not passing??
<script> var options={animation:"slide",navigationControl:false};
$(".wmuSlider").wmuSlider(options);
</script>
4 Answers
Andrew Chalkley
Treehouse Guest TeacherCan you paste all the code so we can see it in context?
You could paste it in something like Codepen.io and paste the link in here rather indenting every line.
Hippocrates Lychros
6,258 PointsHere is the link with the code as typed on the relative task: [http://cdpn.io/CHovh]
Thank you Andrew
Andrew Chalkley
Treehouse Guest TeacherThe issue is:
<script type="text/javascipt" src="jquery.wmuslider.js"></script>
You misspelt javascript :)
Regards, Andrew
Hippocrates Lychros
6,258 PointsYeap, issue resolved.
Thank you so much!!