-
Notifications
You must be signed in to change notification settings - Fork 0
/
pascal.html
55 lines (48 loc) · 2.23 KB
/
pascal.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Pascal Triangle by Nemo B</title>
<meta name="description" content="A pascal-triangle generator. Provides an interactive example of the triangle and its many practical uses!">
<link rel="stylesheet" href="pascal.css">
</head>
<body>
<!--[if lt IE 9]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div class="heading">
<h1>Pascal Triangle of <input type="text" id="row-num" name="row-num" placeholder="8" value=""> rows</h1>
</div>
<div class="pascal-container">
<div></div>
</div>
<div id="info-panel">
<dl>
<dt class="cell-value"></dt>
<dd class="cell-row"></dd>
<dd class="cell-index"></dd>
</dl>
</div>
<svg height="100" width="100">
<defs>
<clipPath id="hexPath" clipPathUnits="userSpaceOnUse">
<path d="M64 48 L64 16 L32 0 L0 16 L0 48 L32 64">
</clipPath>
</defs>
</svg>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.3.min.js"><\/script>')</script>
<script src="pascal.js"></script>
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<!-- script>
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='https://www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-XXXXX-X','auto');ga('send','pageview');
</script -->
</body>
</html>