<!doctype html>
<html>
<head>
<title>jQuery install test</title>
<meta charset="utf-8" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script type="text/javascript" src="jquery.min.js"></script>
<style type="text/css"></style>
</head>
<body>
<script>
if (typeof jQuery != "undefined"){
alert("jQuery is installed");
} else {
alert("jQuery is not installed");
}
</script>
</body>
</html>
For some reason I am unable to embed jQuery. I named the jQuery file I downloaded jquery.min.js. I also tried changing the src to "http://ajax.googleapis.com/ajax/libs/jquery/latest/jquery.js" but that didn't work as well. Is there a problem with my code? I am new to programming.