Home › Forums › JavaScript › Unable to link JS with my HTML (vid) › Reply To: Unable to link JS with my HTML (vid)
You don’t need to link to the jQuery library in Codepen…
I know. I intentionally used a <script>
tag to reflect how the OP was loading things, and to make it obvious that there is no need for two files in this case.
@Aritmos, I still think those two files are duplicates. As I said above, I can’t be sure, but they use well-established naming conventions. One looks like jQuery, the other, jQuery in a minified format.
http://code.jquery.com/jquery-2.1.1.min.js
if i put it as a url it gives me the code but for some reason the webpage can load it. Any ideas???
No reason it shouldn’t be able to. If you look at my codepen example, you’ll see that is the same URL I used (successfully). Can you reproduce this error?