Skip to content
Justice Tech School

jQuery Get Started

Add jQuery with a script tag from a CDN or install it with npm. Then write code that runs after the page is ready.

Example
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script>
  $(function () {
    console.log('ready');
  });
</script>

Exercise

Add the library with a ___ tag.

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

Quiz Test

Where can jQuery be loaded from?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.