-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
36 lines (34 loc) · 1.3 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="code/style.css">
<script src="code/magic.js"></script>
<title>JavaScript Array Flattening Machine - By Mike Reina</title>
</head>
<body>
<div class="contentWrapper">
<h1>JavaScript Array Flattening Machine</h1>
<h3>By <a href="http://bit.ly/michaelreina">Mike Reina</a></h3>
<h3><a href="https://github.com/megamaiku/JavaScript-Array-Flattening-Machine">Project Files</a></h3>
<div class="commandBox">
<h1>Step 1</h1>
<h2>Enter an arbitrary array in <br />square-bracket notation below.<br />(e.g., [1, [2], 3])</h2>
<input id="arrayInputBox">
</div>
<div class="transmogrify">
<h1>Step 2</h1>
<h2>Click/tap the Transmogrify button.</h2>
<button type="button" onclick="undressArray()" id="submitButton"> [ Transmogrify ] </button>
</div>
<div class="consoleWrapper">
<h1>Step 3</h1>
<h2>Watch the <span style='color:#FF0000;'>m</span><span style='color:#CC1233;'>a</span><span style='color:#992566;'>g</span><span style='color:#663899;'>i</span><span style='color:#334BCC;'>c</span> happen below!</h2>
<div class="console">
<div class="consoleContent consoleFont"></div>
</div>
</div>
</div>
</body>
</html>