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 Using a jQuery Carousel Review jQuery Plugins

why is my code not working? Complete this code to add a fade effect for when the Slick plugin displays a new slide.

here is my code :

<script> $(function () { $( '.slider' ).slick(); }); </script>

1 Answer

The code it is looking for is fade: true. The full code should be as follows:

$('.slides').slick({

 fade: true

});

Thank you, I'm new and at this, hangN tough as I can...lol