Hi. I’ve been building a navigation bar in CodePen for my portfolio page and following some templates/examples for creating one that collapses into a hamburger when the screen size decreases.
I’ve got it working now, but what I don’t understand is why I need:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
and not the version CodePen loads through its “Add External JavaScript” option, i.e.:
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
You can see my pen (very much a WIP) if need be at https://codepen.io/cakeisaliegaming/pen/BdaVVe