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 trialJustin Call
1,553 PointsHello - I'm on Challenge Task 1 of 1 in jQuery Basics. It is asking that I include the CDN version of the jQuery script.
I have added this: <script src="https://code.jquery.com/jquery-1.12.4.min.js"</script>
Which is listed as the CDN link at api.jquery.com
But I keep getting a "Bummer"
I've tried other CDN links from Google and Microsoft and I am getting the same result.
<!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://code.jquery.com/jquery-1.12.4.min.js"</script>
<script src="js/app.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>
2 Answers
Rich Donnellan
Treehouse Moderator 27,696 PointsHey Justin,
The most up-to-date jQuery code can be found at http://code.jquery.com. I suggest using the jQuery Core 3.0.0.min.js
version. Clicking on that will give you the correct snippet to paste into your HTML file.
Hope that helps!
Justin Call
1,553 PointsThanks, Rich! That did it.