-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (51 loc) · 1.87 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>The JS Parsons Project</title>
<link href="https://fonts.googleapis.com/css?family=Patrick+Hand+SC" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<script defer src="src/index.js"></script>
<!-- // Touch drag/drop polyfill // from https://github.com/Bernardo-Castilho/dragdroptouch // THANK YOU, Bernardo Castilho! -->
<script src="src/DragDropTouch.js"></script>
</head>
<body>
<h1>Welcome to The JS Parsons Project - Prototype</h1>
<div>
<div id="codepen-load-form">
<label for="codepen-url">Enter a codepen URL to load the puzzle:</label>
<br/>
<input type="text" name="codepen-url" id="codepen-url" placeholder="https://codepen.io/<user>/pen/<pen>">
<button id="load-pen-button" class="button">Load</button>
<br/>
<p style="">or leave it blank and click load to get a demo puzzle</p>
</div>
<button id="piece-answer-swapper">FLIP</button>
<label for="piece-answer-swapper">click the flip button to see the desired end result</label>
<div id="piece-holder-container">
<div id="piece-holder" class="cardboard cutout dropZone"></div>
<iframe id="box-cover"></iframe>
</div>
</div>
<form id="editor-form">
<div>
<label for="html">html</label>
<div class="editor-input cardboard popout dropZone" name="html" id="html-editor"></div>
</div>
<div>
<label for="css">css</label>
<div class="editor-input cardboard popout dropZone" name="css" id="css-editor"></div>
</div>
<div>
<label for="js">js</label>
<div disabled class="editor-input cardboard popout dropZone" name="js" id="js-editor"></div>
</div>
</form>
<div id="output-container">
<iframe id="editor-output" class="popout"></iframe>
</div>
</div>
</body>
</html>