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

Include jQuery in the first script tag. The jQuery framework is in the file jquery.js.

In the src attribute type 'jquery.js'

</body>
<script src="js/jquery.js"></script>

Not sure what your looking for in the question.

Khemraj Thapa
Khemraj Thapa
8,885 Points

Tony just do it as

  <script src="jquery.js"></script>

3 Answers

I'm blind found the problem <script type="text/javascript" src=""></script> Forgot Jquery.js in the double marks.

Chase Lee
Chase Lee
29,275 Points

Take out js/ and put your script tag before your closing body tag like this:

<script src="jquery.js"></script>
</body>
<!DOCTYPE html>
<html>
<body>

<div id="message">
        <p>Congratulations!</p>
</div>

<ul>
        <li class="removable">Item 1</li>
        <li class="removable">Item 2</li>
        <li class="removable">Item 3</li>
</ul>


 <script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript"></script>

</body>
</html>