I just recently started learning about web-design and I've reached the part where I need to learn to import APIs and JSONs into my pages. Anyway, I've been using codepen.io to practice so far, but I wanted to try out with some JSONs created by me - meaning I'd have to write my code in notepad++ -. Long story short, I can't even seem to be able to import jQuery into my .html file. I have the code below:
<!DOCTYPE html>
<html>
<head>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js'></script>
</head>
<body>
<script>
$('button').click(function () {
$('div').fadeTo('slow',0);
});*/
</script>
<button>Hello</button>
<div>HELLO</div>
</body>
</html>
Normally, this would make the HELLO div disappear, but it doesn't. Also when I look into the console of my browser (F12) it says that the google server has returned a 304 code.