filip1337
filip1337

Reputation: 37

JS doesn't load

Ok so I found the hamburger I want on codepen, the html and css works perfectly but the js won't load for some reason.

This is the link to the codepen codepen.io/sergioandrade/pen/onkub

and my files and folders are in order. My question is do I just copy the js as it is or should I add something I don't understand why this isn't working.

Thank you all in advance

Upvotes: 0

Views: 43

Answers (1)

Dana C
Dana C

Reputation: 111

It looks like this Codepen uses jQuery (by the use of the $ function). Have you included jQuery in your code? You can do so by including the following line in the <head> section of your HTML:

<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>

Upvotes: 1

Related Questions