-
Notifications
You must be signed in to change notification settings - Fork 0
/
percentage.html
36 lines (32 loc) · 2.01 KB
/
percentage.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MathFormulas</title>
<link href="css/style.css" rel="stylesheet">
<link href="css/style4.css" rel="stylesheet">
<script src="js/script4.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Patua+One&display=swap" rel="stylesheet">
</head>
<body>
<div class="background">
<h1 id="title1">Welcome to the MathFormulas</h1>
<a href="index.html" style="color: black;"><h5 id="quadratic_formula">Quadratic Formula</h5></a>
<a href="pythagorean_theorem.html" style="color: black;"><h5 id="pythagorean_theorem">Pythagorean theorem</h5></a>
<!-- <a href="logarithm.html" style="color: black;"><h5 id="logarithm">Logarithm</h5></a> -->
<a href="percentage.html" style="color: black;"><h5 id="percentage">Percentage</h5></a>
</div>
<div id="principal3">
<h2 id="text1"> What is <input type="number" id="input6" name="number_x" required/>% of
<input type="number" id="input7" name="number_y" required/>? <button id="button_1" onclick="percentage_1()">Calculate</button><br>
</h2>
<input style="text-align: center;" type="text" id="percentage_final_1" readonly/>
<h2 id="text2"> <input type="number" id="input8" name="number_x" required/> is what % of
<input type="number" id="input9" name="number_y" required/>? <button id="button_2" onclick="percentage_2()">Calculate</button><br>
</h2>
<input style="text-align: center;" type="text" id="percentage_final_2" readonly/>
</div>
</body>
</html>