summaryrefslogtreecommitdiff
path: root/modularpascal.html
diff options
context:
space:
mode:
authorpommicket <leonardomtenenbaum@gmail.com>2016-08-31 14:58:23 -0400
committerpommicket <leonardomtenenbaum@gmail.com>2016-08-31 14:58:23 -0400
commita982632b1cc3218d74acec2b5f6a69ffc5e97ead (patch)
treed7a7761c1a905450c3d57f4ae75048616850c06b /modularpascal.html
parentafff994f985121e89de4b1e3bb509b62eb956e5a (diff)
Cleaned up code and improved website layout.
Diffstat (limited to 'modularpascal.html')
-rw-r--r--modularpascal.html11
1 files changed, 9 insertions, 2 deletions
diff --git a/modularpascal.html b/modularpascal.html
index 2472aaf..4f36997 100644
--- a/modularpascal.html
+++ b/modularpascal.html
@@ -11,10 +11,17 @@
<div id="navbar"></div>
<script src="navbar.js"></script>
<h2>Modular Pascal's Triangle</h2>
- <p>A picture of Pascal's triangle mod x. This program might be a bit slow.</p>
+ <p>A picture of Pascal's triangle mod x.</p>
<script src="js/modularpascal.js"></script>
- x: <input min="1" value="2" type="number" id="mod"><br><br>
+ <div class="container-fluid with-margin">
+ <div class="row">
+ <div class="input-group input-group-md col-lg-3 col-md-6 col-sm-8 col-xs-10">
+ <span class="input-group-addon">x</span>
+ <input id="mod" class="form-control" type="number" value="2">
+ </div>
+ </div>
+ </div>
<button class="btn btn-sm btn-primary" onclick="updateTriangle();">Update</button><br>
</body>
</html>