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 trialTrevor Newberry
2,454 Pointscode.jquery.com doesn't have the same url's as the video did.
Tried going to code.jquery.com like the challenge directed me but it doesn't appear the same as it did in the video. I look a other websites and found <script> that has it hosted from google and Microsoft it appears. neither one is suffice for the challenge. kind of stuck and i feel like this one should be pretty simple.
<!DOCTYPE html>
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/core.js"></script>
<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="js/app.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>
1 Answer
Steven Parker
231,269 PointsThat's to be expected. The code on the CDN will get updated from time to time. But you can probably substitute the latest being offered.
Andrei Duhanes
14,155 PointsAndrei Duhanes
14,155 PointsTry this one and let me know if it works. And also, I suggest to put the script tag after the css link tag. ... <script>"https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"</script>...