-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathindex.html
35 lines (35 loc) · 1.75 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
<!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>Home</title>
<link rel="stylesheet" href="main.css">
</head>
<body>
<div id="navbar"></div>
<div id="header"></div>
<div id="awesome_feature"></div>
<div id="popular_courses"></div>
<div id="expert_trainers"></div>
<div id="upcoming_events"></div>
<div id="register_now"></div>
<div id="testimony"></div>
<div id="footer"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!-- <script src="./jquery.js"></script> -->
<script>
$("#navbar").load("./src/layout/navbar.html");
$("#header").load("./src/components/header/header.html");
$("#awesome_feature").load("./src/components/awesome_feature/awesome_feature.html");
$("#popular_courses").load("./src/components/popular_courses/popular_courses.html");
$("#register_now").load("./src/components/register_now/register_now.html");
$("#expert_trainers").load("./src/components/expert_trainers/expert_trainers.html");
$("#testimony").load("./src/components/testimony/testimony.html");
$("#upcoming_events").load("./src/components/upcoming_events/upcoming_events.html");
$("#footer").load("./src/layout/footer.html");
</script>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Delectus, mollitia dolorum id, itaque magnam voluptatum laborum iusto cumque aut. Libero autem fugiat aperiam velit quae, voluptatum, et praesentium illum molestias.</p>
</body>
</html>