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
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.