-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtimed_kernel_math_challenge.html
More file actions
90 lines (69 loc) · 3.28 KB
/
timed_kernel_math_challenge.html
File metadata and controls
90 lines (69 loc) · 3.28 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
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI-See --- Timed Kernel Math Challenge</title>
<link rel="stylesheet" href="static/css/styles.css">
</head>
<body data-page-id="timed_kernel_math_challenge_level">
<img class="background-layer" src="static/assets/2striped_background.png" alt="Background Image" />
<div style="display: flex; gap: 1vh; justify-content: center; margin-top: 3vh; margin-bottom: 0vh;">
<button class="progressButtonComplete"></button>
<button class="progressButtonComplete"></button>
<button class="progressButtonComplete"></button>
<button class="progressButtonComplete"></button>
<button class="progressButtonComplete"></button>
<button class="progressButtonComplete"></button>
<button class="progressButtonCurrent"></button>
<button class="progressButtonFuture"></button>
</div>
<h2>AI-See --- Timed Kernel Math Challenge</h2>
<button class="topRightButton" onclick="masterLogout()"></button>
<div class="container" id="container">
<div class="left50">
<p id="puzzleText">Calculate the missing values in the feature map based on the provided input image and kernel!</p>
</div>
<div class="right50">
<div id="featureMapInputsContainer">
<p>Fill in the feature map here:</p>
<table class="input-matrix">
<tr>
<td><input type="number" class="feature-map-input" id="cell-0-0"></td>
<td><input type="number" class="feature-map-input" id="cell-0-1"></td>
<td><input type="number" class="feature-map-input" id="cell-0-2"></td>
</tr>
<tr>
<td><input type="number" class="feature-map-input" id="cell-1-0"></td>
<td><input type="number" class="feature-map-input" id="cell-1-1"></td>
<td><input type="number" class="feature-map-input" id="cell-1-2"></td>
</tr>
<tr>
<td><input type="number" class="feature-map-input" id="cell-2-0"></td>
<td><input type="number" class="feature-map-input" id="cell-2-1"></td>
<td><input type="number" class="feature-map-input" id="cell-2-2"></td>
</tr>
</table>
</div>
</div>
</div>
<button class="nextButton" id="testAccuracyButton" onclick="showNextPuzzle()">Next Puzzle</button>
<script src="static/js/timed_kernel_math_challenge.js"></script>
<script src="static/js/redirect.js"></script>
<script src="static/js/data_collection.js"></script>
<script>
window.logout = function() {
// Save data to computer
saveUserDataToComputer();
// Delay redirect slightly to let link open first
setTimeout(() => {
window.location.href = "index.html";
}, 500); // delay in milliseconds
}
window.saveData = function() {
// save data to computer
saveUserDataToComputer();
logout();
}
</script>
</body>