1
- <!doctype html>
1
+ <!DOCTYPE html>
2
2
< html lang ="en ">
3
3
4
4
< head >
5
-
6
- < meta charset ="utf-8 ">
7
- < meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
8
-
9
- < link rel ="stylesheet " href ="style.css ">
10
-
11
- < title > Meditation App</ title >
12
- < script src ="https://kit.fontawesome.com/b039c65688.js " crossorigin ="anonymous "> </ script >
5
+ < meta charset ="UTF-8 " />
6
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7
+ < meta http-equiv ="X-UA-Compatible " content ="ie=edge " />
8
+ < link href ="https://fonts.googleapis.com/css?family=Montserrat " rel ="stylesheet ">
9
+ < link rel ="stylesheet " href ="./style.css " />
10
+ < title > Meditation App</ title >
13
11
</ head >
14
12
15
13
< body >
16
- < div class ="app ">
17
-
18
- < div class ="vid-container ">
19
- < video loop >
20
- < source src ="vid/rain.mp4 " type ="video/mp4 ">
21
- </ video >
22
- </ div >
23
-
24
- < div class ="time-select ">
25
- < button data-time ="300 "> 5 minutes</ button >
26
- < button data-time ="600 "> 10 minutes</ button >
27
- < button data-time ="900 "> 15 minutes</ button >
28
- </ div >
29
- < div class ="player-container ">
30
- < audio class ="song ">
31
- < source src ="sounds/rain.mp3 ">
32
- </ audio >
33
- < img src ="img/play.svg " alt ="play " class ="play ">
34
- < svg class ="track-outline " width ="453 " height ="453 " viewBox ="0 0 453 453 " fill ="none "
35
- xmlns ="http://www.w3.org/2000/svg ">
36
- < circle cx ="226.5 " cy ="226.5 " r ="216.5 " stroke ="white " stroke-width ="20 " />
37
- </ svg >
38
- < svg class ="moving-outline " width ="453 " height ="453 " viewBox ="0 0 453 453 " fill ="none "
39
- xmlns ="http://www.w3.org/2000/svg ">
40
- < circle cx ="226.5 " cy ="226.5 " r ="216.5 " stroke ="#018EBA " stroke-width ="20 " />
41
- </ svg >
42
- < h3 class ="time-display "> 0:00</ h3 >
43
- </ div >
44
- < div class ="sound-picker ">
45
- < button data-sound ="sounds/rain.mp3 " data-video ="vid/rain.mp4 "> < img src ="img/rain.svg " alt ="rain "> </ button >
46
- < button data-sound ="sounds/beach.mp3 " data-video ="vid/beach.mp4 "> < img src ="img/beach.svg "
47
- alt ="beach "> </ button >
48
- </ div >
14
+ < div class ="app ">
15
+ < div class ="vid-container ">
16
+ < video loop >
17
+ < source src ="./video/rain.mp4 " type ="video/mp4 ">
18
+ </ video >
49
19
</ div >
20
+ < div class ="time-select ">
21
+ < button data-time ="10 "> 10 seconds</ button >
22
+ < button data-time ="300 " class ="medium-mins "> 5 minutes</ button >
23
+ < button data-time ="600 " class ="long-mins "> 10 minutes</ button >
24
+ </ div >
25
+ < div class ="player-container ">
26
+ < audio class ="song ">
27
+ < source src ="./sounds/rain.mp3 " />
28
+ </ audio >
29
+ < img src ="./svg/play.svg " class ="play "> </ img >
30
+ < svg class ="track-outline " width ="453 " height ="453 " viewBox ="0 0 453 453 " fill ="none "
31
+ xmlns ="http://www.w3.org/2000/svg ">
32
+ < circle cx ="226.5 " cy ="226.5 " r ="216.5 " stroke ="white " stroke-width ="20 " />
33
+ </ svg >
34
+ < svg class ="moving-outline " width ="453 " height ="453 " viewBox ="0 0 453 453 " fill ="none "
35
+ xmlns ="http://www.w3.org/2000/svg ">
36
+ < circle cx ="226.5 " cy ="226.5 " r ="216.5 " stroke ="#018EBA " stroke-width ="20 " />
37
+ </ svg >
38
+ < img src ="./svg/replay.svg " class ="replay "> </ img >
39
+
40
+ < h3 class ="time-display "> 0:00</ h3 >
41
+ </ div >
42
+ < div class ="sound-picker ">
43
+ < button data-sound ="./sounds/rain.mp3 " data-video ="./video/rain.mp4 "> < img src ="./svg/rain.svg " alt =""> </ button >
44
+ < button data-sound ="./sounds/beach.mp3 " data-video ="./video/beach.mp4 "> < img src ="./svg/beach.svg " alt =""> </ button >
45
+ </ div >
46
+ </ div >
50
47
51
-
52
- < script src ="script.js "> </ script >
48
+ < script src ="app.js "> </ script >
53
49
</ body >
54
50
55
51
</ html >
0 commit comments