-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (69 loc) · 3.19 KB
/
index.html
File metadata and controls
69 lines (69 loc) · 3.19 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
<!DOCTYPE html>
<html>
<head>
<link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'>
<link rel='stylesheet' href='calculator.css'>
<meta charset-"UTF-8">
</head>
<body>
<div class = 'container text-center'>
<h2>Crazy Color Calculator</h2>
<button class= 'normalColorFeature'>Original Color Computing</button>
<button class='randomColorGenerator'>Random Color Surprise</button>
<button class= 'pickYourColorGenerator'>Choose Your Own Color</button>
<div id="colorSelect">
<span id="newColor"></span>
<div class="sliders">
<p>
<label for="red">Red</label>
<input id="red" name="red" type="range" min=0 max=255 value=0>
</p>
<p>
<label for="green">Green</label>
<input id="green" name="green" type="range" min=0 max=255 value=0>
</p>
<p>
<label for="blue">Blue</label>
<input id="blue" name="blue" type="range" min=0 max=255 value=0>
</p>
</div>
</div>
<div class='container normalBackground'>
<div class='display col-xs-12'>
<h1></h1>
</div>
<div class='row'>
<button type='button' class= 'function clear col-xs-3'>C</button>
<button type='button' id='-' class= 'function toggle number col-xs-3'>+/-</button>
<button type='button' id='percentSign' class= 'function operator col-xs-3'>%</button>
<button type='button' id='/' class= 'function operator col-xs-3'>÷</button>
</div>
<div class='row'>
<button type='button' id='7' class= 'function number col-xs-3'>7</button>
<button type='button' id='8' class= 'function number col-xs-3'>8</button>
<button type='button' id='9' class= 'function number col-xs-3'>9</button>
<button type='button' id='x' class= 'function operator col-xs-3'>x</button>
</div>
<div class = 'row'>
<button type='button' id='4' class= 'function number col-xs-3'>4</button>
<button type='button' id='5' class= 'function number col-xs-3'>5</button>
<button type='button' id='6' class= 'function number col-xs-3'>6</button>
<button type='button' id='-' class= 'function operator col-xs-3'>-</button>
</div>
<div class= 'row'>
<button type='button' id='1' class= 'function number col-xs-3'>1</button>
<button type='button' id='2' class= 'function number col-xs-3'>2</button>
<button type='button' id='3' class= 'function number col-xs-3'>3</button>
<button type='button' id='+' class= 'function operator col-xs-3'>+</button>
</div>
<div class= 'row'>
<button type='button' id='0' class= 'function number col-xs-6'>0</button>
<button type='button' id='.' class= 'function decimal number col-xs-3'>.</button>
<button type='button' class= 'function equals col-xs-3'>=</button>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js'></script>
<script src='calculator.js'></script>
</body>
</html>