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 Introducing jQuery Plugins Adding a Plugin to a Web Page

Leonard Morrison
PLUS
Leonard Morrison
Courses Plus Student 32,914 Points

.animsition() method is not working...

.animsition() doesn't work. The site doesn't even load...

Here's the link:https://w.trhou.se/bb71almnlh

4 Answers

Jose Vaca Cipres
Jose Vaca Cipres
10,724 Points

It works. You have an error code here.

<script src="js/animsition/jquery"></script>

Must be just like that

<script src="js/animsition/jquery.animsition.min.js"></script>

And also, you forgot to add the class .animation-link in the anchor tags. Must be just like that: <nav> <a href="index.html" class="animsition-link">Home</a> <a href="#" class="active animsition-link">Work</a> <a href="team.html" class="animsition-link">Team</a> </nav>

Alexander Alegre
Alexander Alegre
14,340 Points

I am having the same issue. I checked on GitHub and its been about 5 months since they last modified the files and one of the issues is that it does not support the browser. If you try to run it and open the console it said that it did not support my browser and i tried it in Opera and Chrome. I think this plug-in might be dead and Treehouse needs to update this course and use a different one or remove this video. Maybe Dave McFarland has some news on this?

Kurt Gengenbach
Kurt Gengenbach
7,994 Points

Also, for anybody else having this issue, make sure that you added "animsition" to your main div's class. For example:

<div class="row container animsition">
Yashwanth Yash
Yashwanth Yash
10,947 Points

I have checked your workspace, and found that you have not added class animsition-link to your link elements in HTML.