Website not loading jQuery
I'm a new web developer, and at the suggestion of Richard Bovell at
JavaScript is Sexy, I've decided to test my skills by making a... well,
test!
I did the basic HTML, and I've written a function to display any given
question, and it works perfectly in JSFiddle.
However when I test it with PHPStorm (run it with my browser), it seems
like the JavaScript/jQuery is not loading.
In fact, when I use Chrome's error console, jQuery.min says, "failed to
load resources."
I'm using this code in my source:
<script
src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
I've also tried using this source:
<script type='text/javascript'
src='//code.jquery.com/jquery-1.10.1.js'></script>
but also not loading resource.
As a result, my entire JavaScript code is not working since it was jQuery
based.
If I load the link into my web browser it works perfectly fine, so it
doesn't seem like a network error.
Can anyone give me some pointers as to why jQuery isn't loading? Thanks!
If you need more of my code, let me know; I just didn't find it necessary
to clutter the question with the code.
 
No comments:
Post a Comment