Html
File 1.html
<html>
<head>
<!-- page encoding -->
<meta charset="utf-8">
<!-- page title -->
<title>Example jQuery</title>
</head>
<body>
<!-- connect the library jQuery -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<!-- the page has opened -->
<script>
$( document ).ready(function()
{
// write code jQuery
// ...
});
</script>
</body>
</html>
We can work with the library jQuery (call methods jQuery) when opens html page
JavaScript
$( document ).ready(function()
{
// write code jQuery
// ...
});