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 trialPaul Colon
13,681 Pointswhy 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
Sue Johnson
16,648 PointsThe code it is looking for is fade: true
. The full code should be as follows:
$('.slides').slick({
fade: true
});
Paul Colon
13,681 PointsPaul Colon
13,681 PointsThank you, I'm new and at this, hangN tough as I can...lol