-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflowcharts.html
185 lines (170 loc) · 8.91 KB
/
flowcharts.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>Flowcharts</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<script src="codemirror/lib/codemirror.js"></script>
<link rel='stylesheet' type='text/css' media='screen' href='codemirror/lib/codemirror.css'>
<script src="codemirror/mode/javascript/javascript.js"></script>
<script src="codemirror/mode/clike/clike.js"></script>
<script src="codemirror/addon/edit/matchbrackets.js"></script>
<link rel="stylesheet" type='text/css' media='screen' href="codemirror/theme/material-palenight.css">
<link rel="stylesheet" type='text/css' media='screen' href="codemirror/theme/material-darker.css">
<link rel="icon" type="image/x-icon" href="/images/computer.png">
<link rel='stylesheet' type='text/css' media='screen' href='CSS/main.css'>
</head>
<body>
<div class="container"">
<div class="nav-wrapper">
<div class="left-side">
<div class="imgContainer">
<img src="images/process.png">
</div>
<div class="nav-link-wrapper">
<a href="index">Home</a>
</div>
<div class="nav-link-wrapper">
<a href="about">About</a>
</div>
<div class="nav-link-wrapper" style="border-bottom: 1px solid white;">
<a href="flowcharts" style="color:white;">Flowcharts</a>
</div>
<div class="select-div">
<select id="problem-set" onchange="changeProblemSet(this.value)">
<option value="p1">Problem Set 1 - General 1</option>
<option value="p2">Problem Set 2 - General 2</option>
<option value="p3">Problem Set 3 - Nested Loops</option>
<option value="p4">Problem Set 4 - Arrays</option>
</select>
</div>
</div>
<div class="right-side">
<div>
<div class="brand">
<div class="hideIfSmall" class="right-side">AMAN CHHINA</div>
</div>
</div>
</div>
</div>
<div id="flowcharts">
<button class="problemButton" id="prob1" onclick="p01Func()">Sum Two Num</button>
<button class="problemButton" id="prob2" onclick="p02Func()">Triangle Sides</button>
<button class="problemButton" id="prob3" onclick="p03Func()">Quad Roots</button>
<button class="problemButton" id="prob4" onclick="p04Func()">Num of Roots</button>
<button class="problemButton" id="prob5" onclick="p05Func()">Letter Grade</button>
<button class="problemButton" id="prob6" onclick="p06Func()">Pos or Neg</button>
<button class="problemButton" id="prob7" onclick="p07Func()">Count Pos/Neg</button>
<button class="problemButton" id="prob8" onclick="p08Func()">Div by 6</button>
<button class="problemButton" id="prob9" onclick="p09Func()">Separate Digits</button>
<button class="problemButton" id="prob10" onclick="p10Func()">Digits are 7</button>
</div>
<div id="flowcharts-2" style="display: none;">
<button class="problemButton" id="prob11" onclick="p11Func()">Sum Digits</button>
<button class="problemButton" id="prob12" onclick="p12Func()">Equal Reverse</button>
<button class="problemButton" id="prob13" onclick="p13Func()">Factorial</button>
<button class="problemButton" id="prob14" onclick="p14Func()">Fibonacci Seq.</button>
<button class="problemButton" id="prob15" onclick="p15Func()">xx Triangle</button>
<button class="problemButton" id="prob16" onclick="p16Func()">Sum 8 Equal</button>
<button class="problemButton" id="prob17" onclick="p17Func()">Sum 100 Num</button>
<button class="problemButton" id="prob18" onclick="p18Func()">Product</button>
<button class="problemButton" id="prob19" onclick="p19Func()">Prime <= 100</button>
<button class="problemButton" id="prob20" onclick="p20Func()">Palindrome 100</button>
</div>
<div id="flowcharts-3" style="display: none;">
<button class="problemButton" id="prob21" onclick="p21Func()">Prime to Num</button>
<button class="problemButton" id="prob22" onclick="p22Func()">Fac to Num</button>
<button class="problemButton" id="prob23" onclick="p23Func()">Left Most Num</button>
<button class="problemButton" id="prob24" onclick="p24Func()">No 1 to Num</button>
<button class="problemButton" id="prob25" onclick="p25Func()">Left Digit 8 Num</button>
<button class="problemButton" id="prob26" onclick="p26Func()">Left Digit 4 Num</button>
<button class="problemButton" id="prob27" onclick="p27Func()">No 6 Num</button>
<button class="problemButton" id="prob28" onclick="p28Func()">Fac to 20</button>
<button class="problemButton" id="prob29" onclick="p29Func()">Prime to 40</button>
<button class="problemButton" id="prob30" onclick="p30Func()">No 3 Num</button>
</div>
<div id="flowcharts-4" style="display: none;">
<button class="problemButton" id="prob31" onclick="p31Func()">[ ] User Num</button>
<button class="problemButton" id="prob32" onclick="p32Func()">Output [ ]</button>
<button class="problemButton" id="prob33" onclick="p33Func()">[ ] 1 to 20</button>
<button class="problemButton" id="prob34" onclick="p34Func()">[ ] Odd 100</button>
<button class="problemButton" id="prob35" onclick="p35Func()">[ ] Even 100</button>
<button class="problemButton" id="prob36" onclick="p36Func()">[ ] Right Digit</button>
<button class="problemButton" id="prob37" onclick="p37Func()">[ ] Right Odd</button>
<button class="problemButton" id="prob38" onclick="p38Func()">[ ] Right Even</button>
<button class="problemButton" id="prob39" onclick="p39Func()">[ ] Div 10</button>
<button class="problemButton" id="prob40" onclick="p40Func()">[ ] Div 40</button>
</div>
<div id="output">
<p>
Select a problem to get started.
</p>
</div>
<div id="design" class="column1 design">
<div id="designTop">
<div class="switch">
<div id="t1" class="toggle">
<input id="check1" type="checkbox" onclick="checkUncheck1()" />
<div class="inner_circle">
</div>
</div>
</div>
<div id="design_text" class="design_text">
Flowchart
</div>
</div>
<img id="design_img" src="" alt="" onclick="zoomOut01()" ondblclick="zoomIn01()" />
<div class="design_text2" id="design_text2">
Select a problem to get started.
</div>
</div>
<div id="js" class="column2 jsSolution">
<div id="jsTop">
<div class="switch">
<div id="t2" class="toggle">
<input id="check2" type="checkbox" onclick="checkUncheck2()" />
<div class="inner_circle">
</div>
</div>
</div>
<div id="js_text" class="js_text">
JavaScript
<div id="run_code">
<button id="run_button" onclick="codeRun()">RUN »</button>
</div>
</div>
</div>
<div class="code">
<div id="chalfunction"></div>
<textarea id="editor">
// Select a problem to get started
</textarea>
</div>
</div>
<div id="another" class="column3 otherSolution">
<div id="anotherTop">
<div class="switch">
<div id="t3" class="toggle">
<input id="check3" type="checkbox" onclick="checkUncheck3()" />
<div class="inner_circle">
</div>
</div>
</div>
<div id="another_text" class="another_text">
Java
</div>
</div>
<div class="code">
<textarea id="editorJava">
// Select a problem to get started
</textarea>
</div>
<div class="another_text2" id="another_text2">
</div>
</div>
</div>
</body >
<script src='JS/main.js'></script>
</html>