-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (60 loc) · 2.35 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
<!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>TRAVEL | Welcome</title>
<!-- CSS File -->
<link rel="stylesheet" href="style.css">
<!-- FAVICO -->
<link rel="shortcut icon" href="Logo.png" type="image/x-icon">
<!-- METAs -->
<meta name="description" content="A Landing Page (SideBar)">
<meta name="author" content="Zia Codes">
<meta name="keywords" content="SideBar, LandingPage, Travel Landing Page, ZiaCodes">
</head>
<body>
<!-- ===== SHOWCASE ===== -->
<section class="showcase">
<header>
<h2 class="logo">Travel</h2>
<div class="toggle"></div>
</header>
<div class="overlay"></div>
<div class="text">
<h2>Never Stop To</h2>
<h3>Exploring The World</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat.</p>
<a href="#">Explore</a>
</div>
<ul class="social">
<li><a href="#"><img src="facebook.png" alt="facebook Image"></a></li>
<li><a href="#"><img src="twitter.png" alt="twitter Image"></a></li>
<li><a href="#"><img src="instagram.png" alt="instagram Image"></a></li>
</ul>
</section>
<!-- ===== SIDE MENU ===== -->
<div class="menu">
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#news">News</a></li>
<li><a href="#destination">Destination</a></li>
<li><a href="#blog">Blog</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div>
<!-- ===== TOGGLE NAVBAR (SideBar) ===== -->
<script>
const menuToggle = document.querySelector('.toggle');
const showcase = document.querySelector('.showcase');
menuToggle.addEventListener('click', () => {
menuToggle.classList.toggle('active');
showcase.classList.toggle('active');
})
</script>
</body>
</html>