Check out example codes for "html how to add jquery". It will help you in understanding the concepts better.

Code Example 1

<!--You can insert Jquery into HTML with the <script> tag in the <head>-->
<!--Insert the next line of code into your <head> tags.-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <!-- jquery (help with javascript) -->

Code Example 2

<!--You can insert Jquery into HTML with the <script> tag.-->
<head>
  <script type = 'text/javascript' src = 'https://code.jquery.com/jquery-3.3.1.js'></script>
</head>

Code Example 3

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

Learn ReactJs, React Native from akashmittal.com