-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (52 loc) · 1.56 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Timeless Camera Website Template</title>
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
</head>
<body>
<section id="banner">
<img src="pp/logo (1).png" class="logo">
<div class="banner-text">
<h1>Timeless Camera Studio</h1>
<p>We expose your true beauty by capturing your souls</p>
<div class="banner-btn">
<a href="#"><span></span>Find Out</a>
<a href="#"><span></span>Read More</a>
</div>
</div>
</section>
<div id="sideNav">
<nav>
<ul>
<li><a href="#">HOME</a></li>
<li><a href="#">FEATURES</a></li>
<li><a href="#">SERVICES</a></li>
<li><a href="#">TESTIMONIALS</a></li>
<li><a href="#">MEET US</a></li>
</ul>
</nav>
</div>
<div id="menubtn">
<img src="pp/menu.png " id="menu">
</div>
<script>
var menubtn = document.getElementById("menubtn");
var sideNav = document.getElementById("sideNav");
var menu = document.getElementById("menu");
sideNav.style.right = "-250px";
menubtn.onclick = function(){
if(sideNav.style.right == "-250px"){
sideNav.style.right = "0";
menu.src = "pp/close1.png"
}
else{
sideNav.style.right = "-250px";
menu.src = "pp/menu.png"
}
}
</script>
</body>
</html>