I am new to jquery and would like to use some jquery code for my project. I want to use jquery from the Google CDN in my html file, but I already have a linked external javascript file to it and I don't know how to incorporate the library.
Also, when I want to use code later, do I write it inside the external javascript file or inbetween <script> </script> tags in the html document?
Currently my HTML looks like this:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script type="text/javascript" src="onlineshop.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>