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 Introduction to jQuery Hello, jQuery! The jQuery Object

Code not working

Hi,

this lesson isn't working for me. I've added the CDN link. But the web page isn't responding at all. Any help?? Thx Bill

<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <ul>
      <li>Thing 1</li>
      <li>Thing 2</li>
      <li>Thing 3</li>
    </ul>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"
  integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
  crossorigin="anonymous"></script>
    <script src="app.js"></script>
  </body>
</html>
$('li').on('click', function() {
  $(this).text("Clicked!").delay(800)fadeOut(400);
});

Thanks a lot. Much appreciated

1 Answer

Steven Parker
Steven Parker
230,230 Points

The code seems to be missing the membership operator (a period) before "fadeOut".