-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
89 lines (82 loc) · 3.62 KB
/
Copy pathindex.html
File metadata and controls
89 lines (82 loc) · 3.62 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
<!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" />
<meta
name="description"
content="GasLab is a ChemKit calculator for solving Boyle’s Law, Charles’ Law, Gay-Lussac’s Law, Avogadro’s Law, and the Ideal Gas Law."
/>
<title>GasLab — ChemKit</title>
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="container">
<section class="hero">
<div class="hero-copy">
<p class="eyebrow">ChemKit Mini Tool</p>
<h1>GasLab</h1>
<p class="subtitle">Solve common gas law variables with guided inputs.</p>
</div>
<div class="hero-actions">
<button type="button" class="home-btn btn">Back to ChemKit</button>
</div>
</section>
<section class="main-shell">
<div class="box-1">
<p class="author"></p>
</div>
<div class="tool-layout">
<div class="box-2 law-picker" aria-label="Gas law selection">
<button type="button" class="boyle-btn opt-btn btn">Boyle's Law</button>
<button type="button" class="charles-btn opt-btn btn">
Charles' Law
</button>
<button type="button" class="gaylussac-btn opt-btn btn">
Gay-Lussac's Law
</button>
<button type="button" class="avogadro-btn opt-btn btn">
Avogadro's Law
</button>
<button type="button" class="ige-btn opt-btn btn">Ideal Gas Law</button>
</div>
<div class="formula-card" aria-live="polite">
<p class="formula-label">Formula</p>
<p class="formula-text" id="formula-text">P<sub>1</sub>V<sub>1</sub> = P<sub>2</sub>V<sub>2</sub></p>
<p class="formula-note" id="formula-note">Choose a gas law to see its relationship.</p>
</div>
</div>
<div class="box-3">
<div class="selection">
<form name="form1" class="form1" action="">
<p class="choose-legend">Choose the value you want to obtain:</p>
<select name="ddMenu" class="ddMenu">
<option value="Initial Pressure">Initial Pressure</option>
<option value="Initial Volume">Initial Volume</option>
<option value="Final Pressure">Final Pressure</option>
<option value="Final Volume">Final Volume</option>
</select>
</form>
</div>
<p class="helper-text">The highlighted field is the value being solved.</p>
<p class="message" id="calc-message" role="status" aria-live="polite" hidden></p>
<label class="label" for="label-1" id="label-1">Initial Pressure:</label>
<input readonly class="input result" type="number" id="input-1" />
<label class="lbl-unit lbl-unit-1" for="unit-1">kpa</label>
<label class="label grid-item" for="label-2" id="label-2">Initial Volume:</label>
<input class="input" type="number" id="input-2" />
<label class="lbl-unit lbl-unit-2" for="unit-1">L</label>
<label class="label grid-item" for="label-3" id="label-3">Final Pressure:</label>
<input class="input" type="number" id="input-3" />
<label class="lbl-unit lbl-unit-3" for="unit-1">kpa</label>
<label class="label grid-item" for="label-4" id="label-4">Final Volume:</label>
<input class="input" type="number" id="input-4" />
<label class="lbl-unit lbl-unit-4" for="unit-1">L</label>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>