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 trial

JavaScript jQuery Basics (2014) Introduction to jQuery Include jQuery in a Project

The links that it is asking for in this challenge, does not exist anymore. What do I do?

The links in this challenge do not exist anymore. I used another link that was provided by https://jquery.com/ under the CDN hosting section. But it will not let me pass. What do I do?

index.html
<!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/3.1.1/jquery.min.js"></script>
    <script src="js/app.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>

2 Answers

Jacques Wessels
Jacques Wessels
22,557 Points

Hi,

Give this one a try:

<script src="https://code.jquery.com/jquery-3.1.1.min.js" charset="utf-8"></script>

I just got the challenge to pass by using this one.

Stephen Gheysens
Stephen Gheysens
11,935 Points

Hi Corinne,

If you go to "code.jquery.com" and click on the links for jQuery Core 3.1.1, you should be able to use those script sources (i.e. http://code.jquery.com/jquery-3.1.1.js ) without any issue. I just tested this and verified that I was able to pass the challenge. Please give that a try and let me know if you are still receiving an error!

Thanks, Stephen