-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
104 lines (84 loc) · 4.39 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
93
94
95
96
97
98
99
100
101
102
103
104
<!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">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon/favicon-16x16.png">
<link href="./stroop.css" rel="stylesheet"/>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Rubik&display=swap" rel="stylesheet">
<script defer type="module" src="./js/stroop.js"></script>
<script defer type="module" src="./js/download-file.js"></script>
<script defer type="module" src="./js/number-field-validation.js"></script>
<title>Stroop Effect</title>
</head>
<body>
<audio src="./sounds/error-sound.mp3" id="error-sound" class="no-visibility"></audio>
<div id="error-container" class="no-visibility">
<img src="./images/exclamation-circle-solid.svg" class="svg-icon">
<div id="error-message" class="text-with-icon">Quantity must be greater than or equal to 1</div>
</div>
<div id="start-container" class="container flow-column">
<form id="form" autocomplete="off">
<div id="choices-container">
<div class="form-container stimulus-number-container">
<label for="stimulus-number">Quantity:</label>
<input type="number" id="stimulus-number" min="1" size="5" value="15" maxlength="4">
<img src="./images/question-circle-solid.svg" id="question-icon">
<div id="quantity-information">
<div id="quantity-text">Entering the number 15 will display 30 words in total - 15 with<br> matching meaning and color, 15 with mismatched meaning and color</div>
</div>
</div>
<div class="form-container">
<input type="radio" name="evaluation" id="word-meaning" value="word-meaning" checked>
<label for="word-meaning">Evaluate Word Meaning</label><br>
</div>
<div class="form-container">
<input type="radio" name="evaluation" id="word-color" value="word-color">
<label for="word-color">Evaluate Word Color</label><br>
</div>
</div>
</form>
<button class="button" id="start-button" type="button">Start</button>
</div>
<div id="test-container" class="container flow-column">
<div id="word-display-area"></div>
<div class="button-container">
<div class="numpad-word-container">
<button class="button no-display" id="red-choice-button" type="button">red</button>
<div class="numpad-number">1</div>
</div>
<div class="numpad-word-container">
<button class="button no-display" id="green-choice-button" type="button">green</button>
<div class="numpad-number">2</div>
</div>
<div class="numpad-word-container">
<button class="button no-display" id="blue-choice-button" type="button">blue</button>
<div class="numpad-number">3</div>
</div>
</div>
</div>
<div id="end-container" class="container flow-column">
<div id="result-container" class="container flow-row">
<div class="time-container">
<div class="time-title">Matching Time</div>
<div class="time-div" id="matched-time-div"></div>
</div>
<div class="time-container">
<div class="time-title">Mismatched Time</div>
<div class="time-div" id="mismatched-time-div"></div>
</div>
<div class="time-container">
<div class="time-title">Incorrect</div>
<div class="time-div" id="incorrect-div"></div>
</div>
</div>
<a class="button" id="download-button" download="info.txt">
<div class="text-with-icon">Download Information (.txt)</div>
<img src="./images/arrow-circle-down-solid.svg" class="svg-icon">
</a>
</div>
</body>
</html>