-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (83 loc) · 3.23 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
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vocabulary practice</title>
<link rel="icon" type="image/x-icon" href="./images/favicon.png">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="home">
<header>
<h1 id="title">
<span class="big-letters">V</span>ocabulary
<span class="big-letters">p</span>ractice</h1>
</header>
<article id="paste-input-container">
<h2 id="article-paste-title">Create a list with your vocabulary</h2>
<input type="text" name="name-input" id="name-input" placeholder="Name of the list"></input>
<input type="text" name="paste-input" id="paste-input" placeholder="Example: can: poder, eat: comer, enjoy: disfrutar"></input>
<button id="create-list">Create list</button>
</article>
<article id="history-article">
<h2 id="history-title">History graph</h2>
<div id="history-canvas">There is not enough data to draw a graph</div>
<button id="close-graph">Close graph</button>
</article>
<article id="lists-container">
<h2>Your lists</h2>
<div id="lists">
<h3 id="no-lists">There are no lists yet</h3>
</div>
</article>
</div>
<div id="mode-selection">
<div id="normal">can (question), poder (answer)</div>
<div id="reverse">poder (question), can (answer)</div>
</div>
<div id="question-container">
<h2 id="list-title"></h2>
<div id="word-answer-container">
<div id="word"></div>
<div id="answer">
<input type="text" id="answer-input"></input>
</div>
</div>
<div id="bar"></div>
</div>
<div id="correct">Very good</div>
<div id="incorrect"></div>
<div id="result">
<h1 id="result-title">Results</h1>
<div id="count">
<div id="correct-incorrect-container">
<div class="data incorrect-correct-data">
<div class="data-title">Correct</div>
<div id="correct-answers"></div>
</div>
<div class="data incorrect-correct-data">
<div class="data-title">Incorrect</div>
<div id="incorrect-answers"></div>
</div>
</div>
<div class="data" id="accuracy-container">
<div class="data-title">Accuracy</div>
<div id="accuracy"></div>
</div>
</div>
<div id="history-graph" class="data">
<div class="data-title">Correct answers history graph</div>
<div id="canvas-container">
<p id="no-data">There is not enough data to draw a graph</p>
</div>
</div>
<div id="buttons">
<button id="home-btn">Go to the home page</button>
<button id="errors-btn">Add errors lists to your lists</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>