-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (62 loc) · 2.28 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
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
<!DOCTYPE html>
<html>
<head>
<title>Answer Maker</title>
</head>
<body>
<p>my own thing so go away but if u want to look at it its kinda cool</p>
<p>u put in your code and itll give u stuff yep so cool</p>
<p>Ur mom</p>
</body>
<div class="mainInputs">
<p>Code:</p>
<textarea
id="code"
placeholder="stuff"
style="width: 100%; height: 200px"
oninput="autoProcessText()"
></textarea>
<form>
<p>Language:</p>
<select id="language">
<option value="Python">Python</option>
<option value="Ruby">Ruby</option>
<option value="Java">Java</option>
<option value="Javascript">Javascript</option>
<option value="Perl">Perl</option>
</select>
</form>
<br />
<input type="checkbox" id="autoCopy" checked />
<label for="autoCopy">Auto Copy</label>
<br />
<input type="checkbox" id="autoFormat" checked />
<label for="autoFormat">Format</label>
<br />
<input type="checkbox" id="autoClear" checked />
<label for="autoClear">Auto Clear</label>
<br />
<input type="checkbox" id="removeComments" checked />
<label for="removeComments">Remove comments</label>
<br />
<input type="checkbox" id="removeWhitespaces" checked />
<label for="removeWhitespaces">Remove 4-whitespaces (Python only)</label>
<br />
<input type="checkbox" id="autoDetectLanguage" checked />
<label for="autoDetectLanguage">Auto detect language (python and ruby only)</label>
<br />
<input type="checkbox" id="multipleAnswers" checked />
<label for="multipleAnswers">Split for multiple answers</label>
<br />
<input type="checkbox" id="autoProcess" />
<label for="autoProcess">Process text on paste</label>
</div>
<br />
<div id="submitButtonDiv">
<button id="submitButton" onclick="submit()" style="padding: 150px 40%">Generate</button>
</div>
<br />
<hr />
<pre id="resultText" style="white-space: pre-wrap">TEXT</pre>
<script src="answerMaker.js"></script>
</html>