-
Notifications
You must be signed in to change notification settings - Fork 2
/
FAQs.html
286 lines (250 loc) · 6.89 KB
/
FAQs.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
<!DOCTYPE html>
<html>
<head>
<title>
F & Q
</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- add icon link -->
<link rel = "icon" href =
"eraser.png"
type = "image/x-icon">
<style>
h1 {
background-color: rgba(255, 99, 71, 0);
font-size: 20px;
text-align: bottom;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
.topnav {
overflow: hidden;
background-color: black;
}
.topnav a {
float: left;
display: block;
color: black;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 20px;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
.topnav a.active {
background-color: #2196F3
color: #ddd;
}
.topnav input[type=text] {
float: right;
padding: 6px;
margin-top: 8px;
margin-right: 16px;
border: none;
font-size: 17px;
}
@media screen and (max-width: 600px) {
.topnav a, .topnav input[type=text] {
float: none;
display: block;
text-align: left;
width: 100%;
margin: 0;
padding: 14px;
}
.topnav input[type=text] {
border: 1px solid #ccc;
}
}
a:link, a:visited {
background-color: transparent;
color: white;
padding: 14px 25px;
text-align: center;
text-decoration: none;
display: inline-block;
transition: right;
}
a:hover, a:active {
background-color: black;
}
.w3-content{position:relative;margin-top:0em;}
.w3-btn,.w3-button{border:none;display:inline-block;outline:0;padding:8px 15px;vertical-align:middle;overflow:hidden;text-decoration:none;color:inherit;background-color:inherit;text-align:center;cursor:pointer;white-space:nowrap}
.w3-btn,.w3-button{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
.w3-disabled,.w3-btn:disabled,.w3-button:disabled{cursor:not-allowed;opacity:0.3}.w3-disabled *,:disabled *{pointer-events:none}
.w3-bar-block .w3-dropdown-hover .w3-button,.w3-bar-block .w3-dropdown-click .w3-button{width:100%;text-align:left;padding:8px 16px}
.w3-button:hover{color:#000!important;background-color:#ccc!important}
.w3-content button {
position: absolute;
top: 32%;
}
.w3-display-right {right:0}
.w3-display-left {left:0}
body {
background-image: url('h1.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
</style>
</head>
<body>
<div class="w3-content" style="width: 100%;">
<img class="mySlides" src="https://i.imgur.com/ZtdhrUA.jpg" alt="custom_html_banner1" style="width:100%">
<img class="mySlides" src="https://i.imgur.com/ZtdhrUA.jpg" alt="custom_html_banner2" style="width:100%">
<img class="mySlides" src="https://i.imgur.com/ZtdhrUA.jpg" alt="custom_html_banner3" style="width:100%">
<img class="mySlides" src="https://i.imgur.com/ZtdhrUA.jpg" alt="custom_html_banner4" style="width:100%">
<button class="w3-button w3-black w3-display-left" onclick="plusDivs(-1)">❮</button>
<button class="w3-button w3-black w3-display-right" onclick="plusDivs(1)">❯</button>
</div>
<div class="topnav">
<a class="active" href="index.html"><i class="fa fa-home" aria-hidden="true"></i> HOME</a>
<a href="about.html"><i class="fa fa-user-circle" aria-hidden="true"></i> ABOUT</a>
<a href="contact.html"><i class="fa fa-envelope" aria-hidden="true"></i> CONTACT</a>
<a href="FAQs.html"><i class="fa fa-quora" aria-hidden="true"></i> FAQs</a>
</div>
<div>
<h1>
<font color="black">
<marquee direction="left">
"Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning." -- Albert Einstein
</marquee>
</font>
</h1>
</div>
<div class="container-fluid">
<h2>FREQUENTLY ASKED QUESTIONS</h2>
<style>
/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhaina+2&display=swap');
body{
font-family: 'Baloo Bhaina 2', cursive;
background-color: white;
}
.container-fluid{
width: 40%;
margin: 0 auto;
margin-top: 100px;
}
.container-fluid h2 {
color: hotpink;
position: relative;
width: 23rem;
}
.container-fluid h2::after{
content: "";
position: absolute;
bottom: 0;
right: 12px;
width: 67px;
height: 2px;
background-color: hotpink;
}
.accordian {
width: 100%;
padding: 0 5px;
border: 2px solid #6db5ff;
cursor: pointer;
border-radius: 50px;
display: flex;
margin: 10px 0;
align-items: center;
}
.accordian .icon {
margin: 0 10px 0 0;
width: 30px;
height: 30px;
background: url(images/toggle-bg.png) no-repeat 8px 7px #6db5ff;
border-radius: 50%;
float: left;
transition: all .5s ease-in;
}
.accordian h3 {
font-size: 22px;
margin: 0;
padding: 3px 0 0 0;
font-weight: normal;
color: #1f5c9a
}
.panel {
padding: 0 15px;
border-left: 1px solid #6db5ff;
margin-left: 25px;
font-size: 14px;
text-align: justify;
overflow: hidden;
max-height: 300px;
transition: all .5s ease-in;
}
</style>
<div class="accordian">
<div class="icon"></div>
<h3>WHAT IS ?</h3>
</div>
<div class="panel">
<p>
visadvlsdgviusbdlvsdlvsbvbuisdvmsdvbuisdgvzmvhshvdsmgvs
</p>
</div>
<div class="accordian">
<div class="icon"></div>
<h3>WHAT IS ?</h3>
</div>
<div class="panel">
<p>
visadvlsdgviusbdlvsdlvsbvbuisdvmsdvbuisdgvzmvhshvdsmgvs
</p>
</div>
<div class="accordian">
<div class="icon"></div>
<h3>WHAT IS ?</h3>
</div>
<div class="panel">
<p>
visadvlsdgviusbdlvsdlvsbvbuisdvmsdvbuisdgvzmvhshvdsmgvs
</p>
</div>
<script>
var acc = document.getElementsByClassName('accordian');
var i;
var len = acc.length;
for(i = 0; i < len; i++) {
acc[i].addEventListner('click', function() {
this.classList.toogle('active');
var panel = this.nextElementSibling;
if(panel.style.maxHeight) {
panel.style.maxHeight = null;
} else {
panel.style.maxHeight = panel.scrollHeight + 'px'
}
})
}
</script>
</div>
<script>
var slideIndex = 1;
showDivs(slideIndex);
function plusDivs(n) {
showDivs(slideIndex += n);
}
function showDivs(n) {
var i;
var x = document.getElementsByClassName("mySlides");
if (n > x.length) {slideIndex = 1} if (n < 1) {slideIndex = x.length}for
(i = 0; i < x.length; i++) {x[i].style.display = "none";}
x[slideIndex-1].style.display = "block"; }
</script>
</body>
</html>