treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Calling Javascript

  • Hi guys, I'm building a site using Twitter Bootstrap and I have embedded a slideshow into my site. However, I don't know what it means when it says call via Javascript using
    $('.carousel').carousel()
    . Where would I add this code? Can anyone help?
  • You would add that just before the closing body tag (</body> like this:

    <script>
    $('.carousel').carousel();
    </script>