forked from louisrli/recoded-mad-libz
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
140 lines (122 loc) · 5.29 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Madlibs</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/css/bootstrap.min.css"
integrity="sha384-r4NyP46KrjDleawBgD5tp8Y7UzmLA05oM1iAEQ17CSuDqnUK2+k9luXQOfXJCJ4I" crossorigin="anonymous">
<link href="style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
</head>
<body>
<div class="container">
<div class="jumbotron text-center vertical-center">
<div class="container my-auto ">
<h1 class="display-1" data-aos="slide-down">Madlibs</h1>
<p class="display-6" data-aos="slide-up" data-aos-delay="200">Re:Coded</p>
<p data-aos="zoom-in" data-aos-delay="500">Made with ❤ By <a href="https://github.com/ihab-sensei"
class="link-warning">Ihab</a> & <a href="https://github.com/fadime94" class="link-warning">Fadime</a></p>
<a href="#story" class="btn btn-success get-started" data-aos="fade" data-aos-delay="600"
data-aos-duration="2000">Get started</a>
</div>
</div>
</div>
<div id="story" class="container">
<div class="row">
<div class='madLibsEdit col-md-6 m-b-5' data-aos="zoom-in-up">
</div>
<div class='madLibsPreview col-md-6 m-b-5' data-aos="zoom-in-up">
</div>
</div>
<div class=" d-flex justify-content-around flex-row">
<button class="btn btn-success px-4 save" data-aos="fade-up" data-aos-offset="90"
data-aos-delay="50">Save</button>
<button class="btn btn-success px-4 load" data-aos="fade-up" data-aos-offset="90"
data-aos-delay="150">Load</button>
<button class="btn btn-success px-4 clear" data-aos="fade-up" data-aos-offset="90"
data-aos-delay="250">Reset</button>
</div>
</div>
<div aria-live="polite" aria-atomic="true" style="position: relative; min-height: 200px;">
<!-- Position it -->
<div style="position: fixed; top: 0; right: 0;">
<!-- Then put toasts within -->
<div class="toast" role="alert" aria-live="assertive" aria-atomic="true" data-autohide="false">
<div class="toast-header">
<strong class="mr-auto">Madlibs</strong>
<small class="text-muted">just now</small>
<button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="toast-body">
your progress has been saved!
</div>
</div>
<div class="toast" role="alert" aria-live="assertive" aria-atomic="true" data-autohide="false">
<div class="toast-header">
<strong class="mr-auto">Madlibs</strong>
<small class="text-muted">just now</small>
<button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="toast-body">
your progress has been loaded!
</div>
</div>
<div class="toast" role="alert" aria-live="assertive" aria-atomic="true" data-autohide="false">
<div class="toast-header">
<strong class="mr-auto">Madlibs</strong>
<small class="text-muted">just now</small>
<button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="toast-body">
your progress has been erased!
</div>
</div>
<div class="toast" role="alert" aria-live="assertive" aria-atomic="true" data-autohide="false">
<div class="toast-header">
<strong class="mr-auto">Madlibs</strong>
<button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="toast-body">
there's nothing to load.
</div>
</div>
<div class="toast" role="alert" aria-live="assertive" aria-atomic="true" data-autohide="false">
<div class="toast-header">
<strong class="mr-auto">Madlibs</strong>
<button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="toast-body">
there's nothing to save!
</div>
</div>
</div>
</div>
<audio id="music" src="./audio/Tarantella Di Napoli.mp3" loop="loop"></audio>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.min.js"
integrity="sha384-oesi62hOLfzrys4LxRF63OJCXdXDipiYWBnvTl9Y9/TRlw5xlKIEHpNyvvDShgf/"
crossorigin="anonymous"></script>
<script src="do-not-touch.js"></script>
<script src="madlibs.js"></script>
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init({
offset: 200,
duration: 700
});
</script>
</body>
</html>