-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpills_riddle.html
65 lines (54 loc) · 1.7 KB
/
pills_riddle.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/pills_riddle.css">
<title>Pills Riddle</title>
</head>
<body>
<div class='container' id='pageHeader'>
<h1>Pills Riddle</h1>
<div class='container' id='navBar'>
<ul>
<li><a href="../index.html">Home</a></li>
<li><a href="../simple-harmonic/simple-harmonic.html">Simple Harmonic Oscillator</a></li>
<li><a href="../random_student/random_student.html">Random Student</a></li>
<li><a href="../pills_riddle/pills_riddle.html">Pills Riddle</a></li>
</ul>
</div>
</div>
<hr>
<div class='container'id='pageBody'>
<div id='riddleText'>
<h2>Riddle:</h2>
<p>Below are twelve pills. Eleven of them are identical, one of the pills is poison</p>
<p>The poisoned pill weighs slightly different than the other pills (more or less)</p>
<p>You have a scale that can be used only 3 times.</p>
<p>Figure out which one is the poisoned pill.</p>
</div>
<br>
<div id='actionWindow'>
<div class='container' id='pillsContainer'>
<div class='betweenPills'></div>
</div>
<br>
<div class='container' id='scaleContainer'>
<div class='container scale' id='group1'>Group1</div>
<div class='scale' id='betweenScaleGroups'></div>
<div class='container scale' id='group2'>Group2</div>
<div class='blank'></div>
</div>
</div>
<br>
<div class='container' id='buttonContainer'>
<h2>Buttons!</h2>
<button id='weigh'>Weigh</button>
</div>
</div>
<hr>
<div class='container' id='pageFooter'>
<h3>By Armen Ourfalian</h3>
</div>
</body>
<script type="text/javascript" src="app/Pill_class.js"></script>
<script type="text/javascript" src="app/pills_riddle.js"></script>
</html>