Work with legacy and simple sites using jQuery selectors, events, AJAX, effects, and plugins.
Lessons
Serve jQuery from your own files for offline use.
Download and Host jQuery is easiest to learn by reading the example, changing it, and observing the result.
<!doctype html>
<html lang="en">
<head><meta charset="utf-8"><title>jQuery page</title></head>
<body>
<button id="hello">Click me</button>
<p id="output"></p>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script>
$(function () {
$('#hello').on('click', function () {
$('#output').text('jQuery is working!');
});
});
</script>
</body>
</html>Practice the Download and Host jQuery example in a small scratch file, then explain what changed and why.