forked from hngi/newLancerApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfaqAccordion.html
239 lines (174 loc) · 7.43 KB
/
faqAccordion.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>FAQ</title>
<link href="https://fonts.googleapis.com/css?family=Pacifico&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Pacifico|Ubuntu&display=swap" rel="stylesheet">
<!-- ubuntu font below -->
<link href="https://fonts.googleapis.com/css?family=Ubuntu&display=swap" rel="stylesheet">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<style>
.accordion {
content: "+";
background-color: #eee;
color: #444;
cursor: pointer;
padding: 16px;
width: 100%;
text-align: left;
border: none;
outline: none;
transition: 0.4s;
}
.active, .accordion:hover {
background-color: #ccc;
content:"-";
}
.panel {
padding: 0 16px;
background-color: white;
display: none;
overflow: hidden;
}
h1{
text-align:center;
font-family: 'ubuntu', sans-serif;
margin-top: 1rem;
color: #00F9FF;
text-shadow:0 3px 3px rgba(57, 63, 72, 0.3);
}
.main{
font-family: 'ubuntu', sans-serif;
font-size: 16px;
}
.heading {
font-size: 36px;
font-family: "Pacifico", cursive;
background: #f5f5f5;
width: 40px;
height: 40px;
font-size: normal;
margin-bottom:1%;
line-height: 63px;
transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
}
header{
padding:0.5%;
/* margin-bottom:3%; */
}
header {
-webkit-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
-moz-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
}
/* .more{
margin-left: 80%;
font-size: 20px;
}
#second{
margin-left: 91%;
}
#third{
margin-left: 88%;
}
#fourth{
margin-left: 88%;
}
#fifth{
margin-left: 81%;
}
#sixth{
margin-left: 87%;
}
#seventh{
margin-left: 89%;
} */
</style>
</head>
<body>
<header>
<div class="heading">Lan<span style="color:#00F9FF">c</span>ers</div>
</header>
<div class="container">
<h1> Frequently Asked Questions</h1>
<div class="main m-4">
<div class="case mb-2">
<button class="accordion">Is Lancer free to use?</button>
<div class="panel">
<p> Lancer cost absolutely nothing at all, and it is 100% free and secured</p>
</div>
</div>
<div class="case mb-2">
<button class="accordion">Is my data safe?</button>
<div class="panel">
<p>We protect your information by adhering to internationally recognised Information Security
best practices and standards. We take the security of your data very seriously and use
strict procedures to protect it . Once we have received your information, we will use strict
procedures and security features to try to prevent unauthorised access, loss or damage
</p>
</div>
</div>
<div class="case mb-2">
<button class="accordion">Why isnt my invoice sending?</button>
<div class="panel">
<p>
please ensure you have a stable internet connection as Lancer can only work online.
</p>
</div>
</div>
<div class="case mb-2">
<button class="accordion">Is naira the only currency allowed?</button>
<div class="panel">
<p>Lancer is available for all nation, you can always select the currency you want to use.</p>
</div>
</div>
<div class="case mb-2">
<button class="accordion">How does it work?</button>
<div class="panel">
<p>Lancer has made it easier to estimate project by taking in the total amount of time it will take to complete a project .</p>
</div>
</div>
<div class="case mb-2">
<button class="accordion">How do i generate an Estimate?</button>
<div class="panel">
<p>To generate an estimate, you will need to sign in with your account, click on generate estimate,
select a new project, input the required details, click on next, input your client information and
generate an invoice
</p>
</div>
</div>
<div class="case mb-2">
<button class="accordion">can i save invoice?</button>
<div class="panel">
<p>Yes, you can save, download or print your invoice.</p>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script>
var acc = document.getElementsByClassName("accordion");
var i;
for (i = 0; i < acc.length; i++) {
acc[i].addEventListener("click", function() {
/* Toggle between adding and removing the "active" class,
to highlight the button that controls the panel */
this.classList.toggle("active");
/* Toggle between hiding and showing the active panel */
var panel = this.nextElementSibling;
if (panel.style.display === "block") {
panel.style.display = "none";
} else {
panel.style.display = "block";
}
});
}
</script>
</body>
</html>