-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (57 loc) · 2.86 KB
/
index.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
56
57
58
59
60
61
62
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kaprekar go!</title>
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
<script src="./js/script.js"></script>
<script src="https://use.fontawesome.com/238305f4e3.js"></script>
<link rel="stylesheet" type="text/css" href="./css/style.css">
</head>
<body>
<div class="shadow">
<header class="container">
<h1>Kaprekar routine</h1>
<i class="fa fa-question-circle-o" id="infoButton"></i>
</header>
<main class="container">
<div class="output">
<div class="dropdownInfo invisible" id="dropdownBox">
<p class="infoText" id="infoText"></p>
<p class="quotationSource">Weisstein, Eric W. "Kaprekar Routine." <br /><a href="http://mathworld.wolfram.com/KaprekarRoutine.html" target="_blank">From MathWorld--A Wolfram Web Resource. </a></p>
</div>
<div id="userNumber" class="numberOutput"></div>
<div id="result" class="resultDisplay"></div>
</div>
<div class="input">
<div class="row">
<div class="numButton" data-value="7"><p class="digit">7</p></div>
<div class="numButton" data-value="8"><p class="digit">8</p></div>
<div class="numButton" data-value="9"><p class="digit">9</p></div>
</div>
<div class="row">
<div class="numButton" data-value="4"><p class="digit">4</p></div>
<div class="numButton" data-value="5"><p class="digit">5</p></div>
<div class="numButton" data-value="6"><p class="digit">6</p></div>
</div>
<div class="row">
<div class="numButton" data-value="1"><p class="digit">1</p></div>
<div class="numButton" data-value="2"><p class="digit">2</p></div>
<div class="numButton" data-value="3"><p class="digit">3</p></div>
</div>
<div class="row">
<div id="userNumbersSubmit" class="button"><p>Submit</p></div>
<div class="numButton" data-value="0"><p class="digit">0</p></div>
<div id="clearAll" class="button"><p>Clear All</p></div>
</div>
</div>
</main>
<footer>
</footer>
</div>
</body>
</html>