-
Notifications
You must be signed in to change notification settings - Fork 0
/
fail.html
50 lines (39 loc) · 1.48 KB
/
fail.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Try Again</title>
<!--import font-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Rozha+One&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<script src="script.js" defer></script>
</head>
<body>
<main class='fade'>
<div class = "page-container">
<p class="fullWidth">So close! Please try Again. Remember to choose the right building block!</p>
<!--set up webcam-->
<video id="webcam" autoplay playsinline style="display:none"></video>
<canvas id="canvas" class="center"></canvas>
<img src = 'assets/overlay.png' class = 'center overlay' alt = overlay>
<button type= "button" id= "toWaiting1" class = 'button orange'>Finish</button>
<button type= "button" id= "toIntroKou" class = 'arrowButtons black'></button>
</div>
</main>
<footer>
</footer>
<script>
document.getElementById('toWaiting1').addEventListener('click', function() {
window.location.href = 'waiting1.html';
});
document.addEventListener('keydown', ()=>{
if(event.key === 'ArrowLeft'){
window.location.href='introKou.html';
}
})
</script>
</body>
</html>