-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
79 lines (50 loc) · 1.72 KB
/
Copy pathindex.html
File metadata and controls
79 lines (50 loc) · 1.72 KB
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
<!DOCTYPE html>
<html lang="">
<head>
<title>Vocab</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<h1 id = "title">Vocab Sentences</h1>
<p>Practice Vocab by Writing Sentences</p>
<p id = "paragraph"></p>
<h2>Words</h2>
<table id='wordTable' class="myTable">
<tr>
<th>Word</th>
</tr>
</table>
<table id='definitionTable' class="myTable">
<tr>
<th>Definition</th>
</tr>
</table>
<br><br>
<button id="addButton" type = "button" onclick="showInputData()"
class="myButton">Add Word</button> <br>
<section id="InputData" style="display:none">
<table class="myTable"><tr><th>
<p>Add Word</p>
<p id="wordErrorParagraph"></p>
<input id="wordInputField" type="text"> <br>
<p>Add Definition</p>
<p id="definitionErrorParagraph"></p>
<input id="definitionInputField" type="text"> <br><br>
<button type = "button" onclick="addInput()" class="myButton">Add</button>
<button type = "button" onclick="hideInputData()" class="myButton">Cancel</button>
<br>
</th></tr></table>
</section>
<script src="words.js"></script>
<br>
<button type = "button" onclick="clearData()" class="myButton">Clear Data</button>
<br>
<button type = "button" onclick="showData()" class="myButton">Display Current Array</button>
<!--
<br>
<button type = "button" onclick="test()">Test</button>
-->
</body>
</html>