-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimplestradical.html
More file actions
101 lines (96 loc) · 5.61 KB
/
simplestradical.html
File metadata and controls
101 lines (96 loc) · 5.61 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Simplest Radical Form</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet" />
<link
href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap"
rel="stylesheet" />
<link
href="https://fonts.googleapis.com/css2?family=Teko:wght@300..700&display=swap"
rel="stylesheet" />
<link
rel="stylesheet"
href="https://www.w3schools.com/w3css/4/w3.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="styles.css" />
<script src="simplestradical.js"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
</head>
<body>
<!-- Header -->
<div class="w3-container spartan">
<h1><a href="index.html"><i class="fa fa-home"></i></a> ACAD Math Apps</h1>
<img src="Images/Spartan-Logo2.png" height="50" class="logo" />
</div>
<!-- Body -->
<div class="w3-container">
<h2>Simplest Radical Form</h2>
<p>
Click the button to generate a radical number. Fill the boxes for the rational part and irrational part to give the original number's simplest radical form.
</p>
<div class="w3-panel w3-border-green w3-leftbar w3-topbar">
<h3>Simplest Radical Form</h3>
<p>
Click the button to generate a radical expression. Fill the boxes for the rational part and irrational part to give the original number's simplest radical form.
</p>
</div>
<button onclick="startFresh()" class="start" id="startFresh">Start</button><button onclick="debug()" style="visibility: hidden">Debug</button><button onclick="check()" class="next" id="check" style="visibility: hidden;">Check Answer</button><button onclick="nextProb()" class="next" id="nextProb" style="visibility: hidden;">Next Problem</button>
<div><br/></div>
<div id = "newScores" class="scoreGrid">
<div class="scoreCard">
<span class="scoreText">CORRECT:</span>
<br /><span class="scoreText" id="correct">0</span>
</div>
<div class="scoreCard">
<span class="scoreText">GUESSES:</span>
<br /><span class="scoreText" id="guesses">0</span>
</div>
<div class="scoreCard">
<span class="scoreText">PERCENT:</span>
<br /><span class="scoreText" id="percent">0</span>
</div>
</div>
<div id ="result"><h2> </h2></div>
<div id="problem" style="text-align: left; font-size: x-large"><h2> </h2></div>
<br />
<input id="rational" style="width: 40px; height: 40px; font-size: x-large; visibility: hidden;"> <input id="irrational" style="text-align: right; font-size: x-large; visibility: hidden;" class="radical">
<br /><br /><br /><br />
<div class="w3-panel w3-border-green w3-leftbar w3-topbar">
<h3>Simplest Radical Form with Variables</h3>
<p>
Click the button to generate a radical expression. Fill the boxes for the rational part and irrational part to give the original number's simplest radical form.
</p>
</div>
<button onclick="startFresh2()" class="start" id="startFresh2">Start</button><button onclick="debug2()" style="visibility: hidden">Debug</button><button onclick="check2()" class="next" id="check2" style="visibility: hidden;">Check Answer</button><button onclick="nextProb2()" class="next" id="nextProb2" style="visibility: hidden;">Next Problem</button>
<div><br/></div>
<div id = "newScores2" class="scoreGrid">
<div class="scoreCard">
<span class="scoreText">CORRECT:</span>
<br /><span class="scoreText" id="correct2">0</span>
</div>
<div class="scoreCard">
<span class="scoreText">GUESSES:</span>
<br /><span class="scoreText" id="guesses2">0</span>
</div>
<div class="scoreCard">
<span class="scoreText">PERCENT:</span>
<br /><span class="scoreText" id="percent2">0</span>
</div>
</div>
<div id ="result2"><h2> </h2></div>
<div id="problem2" style="text-align: left; font-size: x-large"><h2> </h2></div>
<br />
<input id="rational2" style="width: 200px; height: 40px; font-size: x-large; visibility: hidden;"> <input id="irrational2" style="width: 110px; text-align: right; font-size: x-large; visibility: hidden;" class="radical">
<br /><br /><br /><br />
</div>
</body>
</html>