-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (49 loc) · 1.47 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
<!Doctype html>
<html>
<head>
<title>R-Calc</title>
<link type="text/css" rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
<header>
<h1>R-Calc</h1>
<p>Calculator for resistor networks</p>
</header>
<main>
<section>
<h1>Choose E-Series</h1>
<ul class="selection_row"></ul>
</section>
<section>
<h1>Required Resistance</h1>
<p>
<input type="number" id="resistance" step="0.01" min="0.01" max="1000" placeholder="Resistance">
<input type="radio" name="unit" prefix="" id="radio_ohm"> <label for="radio_ohm">Ω</label>
<input type="radio" name="unit" prefix="k" id="radio_kohm" checked="checked"> <label for="radio_kohm">kΩ</label>
<input type="radio" name="unit" prefix="M" id="radio_kohm"> <label for="radio_kohm">MΩ</label>
</p>
</section>
<section>
<p><input type="button" value="Calculate" id="submitbutton"></p>
</section>
<section id="results">
<h1>Result</h1>
<table>
<thead>
<tr>
<td>Resistor Combination</td>
<td>=</td>
<td>Deviation</td>
</tr>
</thead>
<tbody id="results_container"></tbody>
</table>
</section>
</main>
<footer>
<p>© <a href="https://spice-space.de/navigation/ueber-michi/">Michael Hohenstein</a>, 2024</p>
<p><a href="https://docs.github.com/de/site-policy/privacy-policies/github-general-privacy-statement">Github Pages Privacy</a></p>
</footer>
</body>
</html>