wtf/k8ball/index.html
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Magic Q Ball</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.css">
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.js"></script>
<script type="text/javascript" src="index.js"></script>
</head>
<body>
<div data-role="page" id="home" >
<!-- Header div with link to About page and title-->
<div data-role="header" data-theme="b">
<a href="#about" >About</a>
<h1>Magic Q Ball</h1>
</div>
<div data-role="content" >
<h1><center>Think of a good question, shake, and then click below to ask!</center></h1>
<h1><center id="response" >...</center></h1>
</div>
<div data-role="footer" data-position="fixed" data-theme="b">
<button onClick="getResponse()" >Ask the Magic Q Ball!</button>
</div>
</div>
<!-- About page-->
<div data-role="page" id="about">
<div data-role="header" data-theme="b">
<a href="#" data-icon="arrow-l" data-rel="back">Back</a>
<h1>About</h1>
</div>
<div data-role="content" >
<h2><center> This was my first web app, so i started with a simple Magic 8 Ball. I am using Jquery Mobile and have provided a link to the source code below. Feel free to check it out or give me some feedback! I would love to hear any suggestions for improvements!</center></h2>
</div>
<div data-role="footer" data-position="fixed" data-theme="b">
<div data-role="navbar">
<ul>
<li><a href="https://github.com/roachhd/roachhd.github.io/wtf/k8ball/" data-icon="edit" />Source Code</a> </li>
<li><a href="mailto:katie@roachhd.com" data-icon="email" >Feedback</a></li>
<li><a href="https://www.twitter.com/mektball" data-icon="info" >Twitter</a></li>
<li><a href="https://www.facebook.com/roachhd" data-icon="info">Facebook</a></li>
</ul>
</div>
</div>
</div>
</body>
</html>