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!
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

Michael Bredthauer
13,429 PointsMy jQuery isn't working in Dreamweaver
I am in the tutorial and using the project files in Dreamweaver, the "Its a trap" animation isn't working and I have everything exactly as they have it in the video and in the workspaces, ,why isn't it working when I preview it in any browser (chrome, safari, and firefox)
3 Answers

Caleb King
32,777 PointsIts possible it could be the editor or the code. If there is a console output look at the markers and look for any red to represent errors. Does the problem occur on another tool than dreamweaver?

Sean T. Unwin
28,688 PointsAre you calling jQuery from a CDN or a local directory? If from a CDN it won't work unless the page is being run from a server, like localhost. So if you don't have a local server set up then download a copy of jQuery and put it inside the directory where you are putting JavaScript files and call it from there.

Michael Bredthauer
13,429 PointsI'm calling it from a cdn, I copy and past it directly from j query .com and it doesn't work.