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 trialMatija Skriljak
3,338 PointsI tried to include every CDN on internet with every version of jquery, and this task is not working.
Error in precompile test
<!DOCTYPE html>
<html>
<head>
<title>Take Evasive Action</title>
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" title="no title" charset="utf-8">
</head>
<body>
<p class="warning">
<span>It's A Trap!</span>
</p>
<div class="image">
<img src="img/ackbar.gif">
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="js/app.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>
4 Answers
Jason Anders
Treehouse Moderator 145,860 PointsHey Matija
There seems to be a newly occurred glitch in this particular challenge. Support and Andrew Chalkley have been made aware. Hopefully it is corrected soon. In the meantime, you can bypass the challenge by using the navigation on the top of the video window. Come back and give it a try in a few days. :)
Keep Coding!
Andrew Chalkley
Treehouse Guest TeacherIt looks like it's an error that's happening outside the scope I can fix. I've opened an issue with the Dev team.
Andrew Chalkley
Treehouse Guest TeacherThe issue has been fixed now!
Robert Clarke
3,105 PointsI keep getting 'Your code took too long to work'.
Andrew Chalkley
Treehouse Guest TeacherWhat code are you entering in?
Robert Clarke
3,105 PointsI just tried this again this morning and it worked with this code...
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
Matija Skriljak
3,338 PointsNo, still not working! Now i get error "You didn't use the CDN hosted version of jQuery. Try again." with these CDN's : <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.1.0.js"></script> These are CDN's hosted on Microsoft and Google servers links are on Jquery official page. I am very dissapointed and moving to another course, maybe to another site Treehouse have many problems with those course tasks
Andrew Chalkley
Treehouse Guest TeacherThe code challenge task asks "Find the CDN hosted jQuery javascript file on the code.jquery.com and include it in the project."
If you visit http://code.jquery.com you can add any of the code.jquery.com
hosted CDN files.
Matija Skriljak
3,338 PointsMatija Skriljak
3,338 PointsThank you Jason for quick help, i bypass the challenge as you suggest.