0004 added[hypotenuseCalculator, counter, randomNumberGeneration]

This commit is contained in:
WickedJack99
2022-08-03 09:10:38 +02:00
parent 1779fcf47b
commit 037f4d11d5
8 changed files with 145 additions and 0 deletions

24
html/calcHypotenuse.html Normal file
View File

@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<p id="p1">
<label id="sideA">Enter side A</label><br>
<input type="text" id="sideAVal"><br>
<label id="sideB">Enter side B</label><br>
<input type="text" id="sideBVal"><br>
<button type="button" id="calcHypotenuseButton">Submit</button>
</p>
<p id="p2">
<label id="hypotenuse">Hypotenuse: 0</label>
</p>
<p id="p3"></p>
<script src="/js/calcHypotenuse.js"></script>
</body>
</html>

23
html/count.html Normal file
View File

@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<p id="p1">
<label id="counter">0</label><br>
</p>
<p id="p2">
<button type="button" id="countDownButton">Down</button>
<button type="button" id="resetButton">Reset</button>
<button type="button" id="countUpButton">Up</button>
</p>
<p id="p3">
</p>
<script src="/js/count.js"></script>
</body>
</html>

23
html/counter.html Normal file
View File

@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<p id="p1">
<label id="counter">0</label><br>
</p>
<p id="p2">
<button type="button" id="countDownButton">Down</button>
<button type="button" id="resetButton">Reset</button>
<button type="button" id="countUpButton">Up</button>
</p>
<p id="p3">
</p>
<script src="/js/counter.js"></script>
</body>
</html>

View File

@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<p>
<label id="xLabel">0</label>
<label id="yLabel">0</label>
<label id="zLabel">0</label>
</p>
<p>
<button type="button" id="roll">roll</button>
</p>
<script src="/js/randomNumberGeneration.js"></script>
</body>
</html>