Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Britton ZirkleCourses Plus Student 15,005 Points
Error loading JQuery
I have loaded up the program files in Sublime text and am having the following problem:
//Hide Warning JQuery(".warning").hide(); //Show Warning Slowly //$(".warning").hide().show("slow");
If I comment out the JQuery(".warning").hide(); statement and uncomment the last statement, it works fine. I accessed the package control in Sublime and installed the JQuery package, restarted Sublime and still get the same reference error.
I know I can just replace JQuery with $, but my understanding is that its better to use JQuery because $ could be aliased to something in another JS library and create conflicts. I'd prefer to sort this issue out, if there is a way. Any help is much appreciated!
Your reference error may be related to the fact that you are capitalizing the J.
Have you tried it with: