-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
86 lines (62 loc) · 2.71 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
86
<!--
Created by Brendon Albertson
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
<title>Cloze Quiz Generator</title>
<meta name="description" content="An app to automate the creation of cloze vocabulary activities.">
<meta name="author" content="Brendon Albertson">
<link rel="stylesheet" type="text/css" href="styles.css">
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
</head>
<body>
<div id='directions'>
<h1 id='title'>Cloze Quiz Generator</h1>
<div id=lang-settings>
Language:
<input type="radio" id="en" name="language" value="en" checked="checked">
<label for="en">English</label>
<input type="radio" id="jp" name="language" value="jp">
<label for="jp">日本語</label>
</div><br>
<p class='big-text'>Enter words <strong>(or phrases!)</strong>, separated by commas:</p>
<br>
<input type='text' placeholder = '(Examples: explore, creative, out of control, a little)' id='search'/>
<br>
<br>
<div>
<div id = "number-box-div">
<label id = 'alert' class='small-text' for='number-box'>Sentences per word/phrase:</label>
<input inputmode="numeric" pattern="[0-9]*" type='number' name='number-box' id='sentences-per-word' placeholder='#' size=1/>
</div>
</div>
<br>
<button id='start-button' onclick="main()">Make Quiz</button>
<div id='message'></div>
</div>
<div id='activity'>
<p id='header' class='med-text'></p>
<div id='wordbank' class='row med-text'></div>
<div id='sentences' class='med-text'></div>
</div>
<button id='worksheet' onclick="toggleWorksheet()">Get Printable Worksheet</button>
<button id='back' onclick="toggleWorksheet()">Back</button>
<div id='tips'>
<h3>Tips:</h3>
<ul>
<li>To practice vocabulary, enter any number of words. To practice collocations, enter phrases.</li>
<li>To practice articles, enter "a, an, the" and 5-10 for # of sentences.</li>
<li>To practice <i>have</i> vs. <i>has</i>, enter "have, has" and 5-10 for # of sentences.</li>
<li>To practice participial adjectives, enter pairs like "bored, boring, exited, exciting, amazed, amazing".</li>
<li>To practice conjugation of the verb "be", enter "is, am, are, was, were".</li>
</ul>
</div>
<footer>Created by <a href="https://www.brendonalbertson.com">Brendon Albertson</a>. Powered by the <a href='http://www.tatoeba.org'>Tatoeba Corpus</a> under <a href='https://creativecommons.org/licenses/by/2.0/fr/'>CC BY 2.0 FR</a>
</footer>
<script src="main.js"></script>
<script src="shuffle.js"></script>
</body>