Skip to content

Instantly share code, notes, and snippets.

@ZBryan
Created September 28, 2014 02:42
Show Gist options
  • Save ZBryan/3ba47205350461d6fa15 to your computer and use it in GitHub Desktop.
Save ZBryan/3ba47205350461d6fa15 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Catch the energizer bunny</title>
<link rel="stylesheet" href="rabbit.css" />
</head>
<body>
<h2>Catch me if you can</h2>
<h3>Catch the rabbit by hovering over it with your mouse. You can make the game harder by selecting a faster rabbit and/or choosing to use a mouse click to catch it. You can change rabbit speed and catch method while game is running.</h3>
<div id="page">
<button id="one" class="button">Faster Rabbit</button>
<button id="two" class="button">Mouse Click</button>
<button id="three" class="button">Start</button>
</div>
<div>
<p>Mmmmmmm rabbit stew!</p>
</div>
<img src="rabbit.jpg" alt="Rabbit" height="30" width="50">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script><script type="text/javascript"></script>
<script src="rabbit.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment