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 trialMichael Hernandez
9,746 PointsUncaught TypeError: $(...).sticky is not a function
I am using the workspace provided with these videos. I could not get it to work with the first video so I moved on to the next one. I opened the workspace and everything was completed already including the $('.header').sticky(); line in the main.js file. It still says Uncaught TypeError in my console that the sticky plugin does not work.
This is a snapshot of my workspace: https://w.trhou.se/u1rgs7apr6
1 Answer
Ryan Mallette
18,972 PointsHello, Michael
Looks like there's a typo with the script tag on line 71 of index.html. It says 'srcipt' instead of 'script'. That might be the issue.
Cheers!