-
Notifications
You must be signed in to change notification settings - Fork 0
/
Color_Learn.html
105 lines (96 loc) · 4.14 KB
/
Color_Learn.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
105
<!DOCTYPE htmlregister__btn>
<html lang="en">
<title>
LearnEra
</title>
<link rel="icon" href="./pictures/logo.jpg" type="image/x-icon" />
<head>
<meta charset="UTF-8" />
<link rel="icon" href="./pictures/logo.jpg" type="image/x-icon" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="color-learn-style.css">
<link rel="stylesheet" href="style1.css">
<title>Child website Design</title>
</head>
<body>
<audio id="RED">
<source src="./Audio/color/RED.mp3" type="audio/ogg">
</audio>
<audio id="ORANGE">
<source src="./Audio/color/ORANGE.mp3" type="audio/ogg">
</audio>
<audio id="GREEN">
<source src="./Audio/color/GREEN.mp3" type="audio/ogg">
</audio>
<audio id="YELLOW">
<source src="./Audio/color/YELLOW.mp3" type="audio/ogg">
</audio>
<audio id="BLUE">
<source src="./Audio/color/BLUE.mp3" type="audio/ogg">
</audio>
<audio id="PURPLE">
<source src="./Audio/color/PURPLE.mp3" type="audio/ogg">
</audio>
<div class="mynumber">
<div class="red">
<img src="./pictures/logo.jpg" alt="Logo">
</div>
<div class="slider-container">
<div class="slider">
<div class="image-container">
<div class="numbertext">1 / 6</div>
<img src="./pictures/color-learn/red.jpg" alt="Image">
<button onclick="play_RED()" type="button" class="audio_button">Play RED</button>
</div>
</div>
<div class="slider">
<div class="image-container">
<div class="numbertext">2 / 6</div>
<img src="./pictures/color-learn/orange.jpg" alt="Image">
<button onclick="play_ORANGE()" type="button" class="audio_button">Play ORANGE</button>
</div>
</div>
<div class="slider">
<div class="image-container">
<div class="numbertext">3 / 6</div>
<img src="./pictures/color-learn/green.jpg" alt="Image">
<button onclick="play_GREEN()" type="button" class="audio_button">Play GREEN</button>
</div>
</div>
<div class="slider">
<div class="image-container">
<div class="numbertext">4 / 6</div>
<img src="./pictures/color-learn/yellow.jpg" alt="Image">
<button onclick="play_YELLOW()" type="button" class="audio_button">Play YELLOW</button>
</div>
</div>
<div class="slider">
<div class="image-container">
<div class="numbertext">5 / 6</div>
<img src="./pictures/color-learn/blue.jpg" alt="Image">
<button onclick="play_BLUE()" type="button" class="audio_button">Play BLUE</button>
</div>
</div>
<div class="slider">
<div class="image-container">
<div class="numbertext">6 / 6</div>
<img src="./pictures/color-learn/purple.jpg" alt="Image">
<button onclick="play_PURPLE()" type="button" class="audio_button">Play PURPLE</button>
</div>
</div>
<div class="prev-button" onclick="plusSlides(-1)">❮</div>
<div class="next-button" onclick="plusSlides(1)">❯</div>
</div>
<div class="dots">
<div class="dot" onclick="currentSlide(1)"></div>
<div class="dot" onclick="currentSlide(2)"></div>
<div class="dot" onclick="currentSlide(3)"></div>
<div class="dot" onclick="currentSlide(4)"></div>
<div class="dot" onclick="currentSlide(5)"></div>
<div class="dot" onclick="currentSlide(6)"></div>
</div>
<script src="color-learn.js"></script>
</div>
</body>
</html>