I am trying to include an external jQuery file into my html (first time) but it isn't working, just executing the html without the jquery. (css is working fine)
Here's the html code:
<!doctype html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css" />
</head>
<body>
<script type="text/javascript" src="<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" />
<script type="text/javascript" src="script.js"></script>
<h1>Hello World!</h1>`
</body>
</html>
Here's the jquery code in script.js:
$(document).ready(function(){
alert("it works");
});
And yes, they are all in the same folder (dropbox folder actually, but I don't think dropbox affects anything)