diff options
Diffstat (limited to '2pi.html')
-rw-r--r-- | 2pi.html | 37 |
1 files changed, 18 insertions, 19 deletions
@@ -1,22 +1,21 @@ <html> -<head> -<title>π calculator</title> + <head> + <meta charset="utf-8"> + <title>π calculator</title> + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> + <link rel="stylesheet" href="css/style.css"> + <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.2/p5.js"></script> + <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> + </head> -<meta charset="utf-8"> + <body> + <div id="navbar"></div> + <script src="navbar.js"></script> -<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> -<link rel="stylesheet" href="css/style.css"> -<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.2/p5.js"></script> - -</head> -<body> -<h2>π calculator</h2> -<div id="header_links_div"></div> -<script src="js/header_links.js"></script> -<hr> -<p>Since 2π day is today (6/28), here's a π/2π calculator. Draw a circle, then find out how well your circle approximates π!<br> -<button onclick="calculate();">Calculate π</button><br> -<div id="info"></div> -<script src="js/2pi.js"></script> - -</html>
\ No newline at end of file + <h2>π calculator</h2> + <p>Since 2π day is today (6/28), here's a π/2π calculator. Draw a circle, then find out how well your circle approximates π!<br> + <button onclick="calculate();">Calculate π</button><br> + <div id="info"></div> + <script src="js/2pi.js"></script> + </body> +</html> |