You need to explicitly load jQuery in your HTML page. jQuery is a custom framework, and not available in browsers by default.
Simply add this line to your <head>
, before your existing <script>
tag:
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
The result should be like this:
<!DOCTYPE html>
<html>
<head>
<title>What Say You?</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css"/>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<div id="ready">I'm ready!</div>
<div id="notready">You'll never take me alive, jQuery!</div>
</body>
</html>