-
Notifications
You must be signed in to change notification settings - Fork 5
/
FAQ.html
218 lines (189 loc) · 6.23 KB
/
FAQ.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./styles/nav.css">
<link rel="stylesheet" href="./styles/footer.css">
<link rel="stylesheet" href="./styles/main.css">
</head>
<style>
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: #222;
}
.FAQ_container{
display: flex;
/* height: 600px;
width: 100%; */
/* border: 2px solid red; */
justify-content: center;
margin-bottom: 60px;
/* padding-top: 30px; */
}
#child1{
height: 450px;
width:800px;
font-family: Open Sans,sans-serif;
margin-top: 20px;
background-color: #e8e8e8;
font-weight: 600;
padding-top: 40px;
}
#child2 {
height: 450px;
width:380px;
background-color: black;
color: white;
margin-top: 20px;
padding-top: 30px;
}
#heading{
margin-top: 80px;
margin-left: 85px;
font-size: 34px;
font-weight: 500;
font-family: Open Sans,sans-serif;
color: #fff;
font-size: 36px;
font-weight: 700;
}
.links{
text-decoration: none;
color: rgb(177, 165, 165);
line-height: 35px;
font-size: 18px;
font-family: Arial, Helvetica, sans-serif;
margin-left: 18px;
}
.links:hover{
color:white;
}
#para{
font-size: 36px;
color: #333;
font-family: Open Sans,sans-serif;
line-height: 50px;
margin-left: 50px;
margin-bottom: 15px;
}
#para2{
font-family: Arial, Helvetica, sans-serif;
/* padding-top: -10px; */
margin-left: 50px;
font-weight: 400;
margin-bottom: 15px;
}
#bullet{
margin-left: 80px;
line-height: 35px;
}
.links1{
color: #dd625e;
font-family: Arial, Helvetica, sans-serif;
text-decoration: underline;
}
#site{
margin-left: 20px;
margin-bottom: 15px;
font-family: Arial, Helvetica, sans-serif;
}
@media all and (max-width:768px) and (min-width:381px){
#heading {
/* color: #dd625e; */
margin-left:40px;
}
.FAQ_container{
display: flex;
flex-direction : column-reverse;
justify-content: center;
/* margin-left: 25px; */
}
#child2 {
width: 90%;
margin: auto;
margin-top: 20px;
}
#child1 {
width: 90%;
margin: auto;
margin-top: 20px;
}
}
@media all and (max-width:388px) and (min-width:50px){
#heading {
/* color: #dd625e; */
margin-left:30px;
}
.FAQ_container{
display: flex;
flex-direction : column-reverse;
justify-content: center;
/* margin-left: 25px; */
}
#child2 {
width: 90%;
margin: auto;
margin-top: 20px;
}
#child1 {
width: 90%;
margin: auto;
margin-top: 20px;
height: auto;
}
}
</style>
<body>
<header class="header"></header>
<div id="heading"> FAQ</div>
<div class="FAQ_container">
<div id="child1">
<p id="para">Welcome to Frequently Asked <br>Questions</p>
<p id="para2">Pick a site area from the navigation, or find a common question below.</p>
<ul id="bullet" >
<li > <a class="links1" href="https://frontendmasters.com/faq/courses/#how-often-do-you-update-your-courses"> How often do you update your courses?</a> </li >
<li > <a class="links1" href="https://frontendmasters.com/faq/learning-paths/#do-you-offer-certificates-of-completion">Do you offer certificates of completion? </a></li >
<li > <a class="links1" href="https://frontendmasters.com/faq/join/#do-you-offer-a-free-trial">Do you offer a free trial? </a></li >
<li > <a class="links1" href="https://frontendmasters.com/faq/my-account/#how-do-i-cancel-my-plan"> How do I cancel my plan? </a></li >
<li> <a class="links1" href="https://frontendmasters.com/faq/students/#do-you-offer-a-student-discount">Do you offer a student discount? </a></li>
<li> <a class="links1" href="https://frontendmasters.com/faq/teams/#how-do-your-team-plans-work">How do your team plans work? </a></li>
</ul>
</div>
<div id="child2">
<h3 id="site">Site Area</h3>
<a class="links"href="https://frontendmasters.com/faq/courses/">Cources</a><br>
<a class="links"href="https://frontendmasters.com/faq/learning-paths/">Learning Paths</a><br>
<a class="links"href="https://frontendmasters.com/faq/join/">Join</a><br>
<a class="links"href="https://frontendmasters.com/faq/my-account/">My Account</a><br>
<a class="links"href="https://frontendmasters.com/faq/students/">Students</a><br>
<a class="links"href="https://frontendmasters.com/faq/teams/">Teams</a>
</div>
</div>
<div id="footer"></div>
</body>
</html>
<script type="module">
import navbar from "./components/navbar.js"
// console.log(navbar)
document.querySelector(".header").innerHTML=navbar()
import footer from "./components/footer.js"
document.querySelector("#footer").innerHTML=footer()
const hamburger = document.querySelector(".menu");
const navMenu = document.querySelector(".mobile");
hamburger.addEventListener("click", function () {
navMenu.classList.toggle("active");
});
const hamburger1 = document.querySelector(" #footer .menu");
const navMenu1 = document.querySelector("#footer .mobile");
hamburger1.addEventListener("click", function () {
navMenu1.classList.toggle("active");
});
</script>
<script src="https://kit.fontawesome.com/2ab2a134b6.js" crossorigin="anonymous"></script>