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 Explore Carousel Settings

Warren Leyes
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Warren Leyes
Front End Web Development Techdegree Graduate 31,323 Points

HTML Structure (My observation)

Not actually a question. When I plan my html one of the first things I try to do is to keep it as semantic as possible.( I really hate div's) So, when I looked at this plugin I decided to see if a div was actually required .... it is not (The important part is the structure/hierarchy)

the following as an example also works:

<article class="test">
    <section>Test 1</section>
    <section>Test 2</section>
    <section>Test 3</section>
 </article>

<script src="js/jquery-1.11.2.min.js"></script>
<script src="js/animsition/jquery.animsition.min.js"></script>
<script src="js/sticky/jquery.sticky.js"></script>
<script src="js/slick/slick.min.js"></script>
<script src="js/main.js"></script>

<script>
  $('.test').slick();
</script>