-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (64 loc) · 2.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Usama - 16469</title>
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="icon" href="resources/logo.png">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<div class="hero">
<div class="nav-bar">
<div class="nav-logo">
<img src="resources/logo.png" alt="Logo" title="Logo">
</div>
<div class="nav-links" id="nav-links">
<i class="fa fa-close" onclick="closeMenu()"></i>
<ul>
<a href="#"> <li>Home</li> </a> <!--# prevents from page refreshing-->
<a href="#"> <li>Items</li> </a>
<a href="#"> <li>Contact</li> </a>
</ul>
<button type="button" class="btn">Sign Up</button>
</div>
<i class="fa fa-bars" onclick="showMenu()"></i>
</div>
<div class="title">
<h1>Food <span>doesn't have <br> a Religion.</span> It's a Religion</h1>
<button type="button" class="btn">Explore</button>
</div>
<div class="bar">
<div class="search">
<i class="fa fa-list-ul"></i>
<i class="fa fa-search"></i>
</div>
<div class="social">
<a href="https://www.facebook.com/CS4Usama" target="_blank">
<i class="fa fa-facebook"></i>
</a>
<a href="https://twitter.com/CS4Usama" target="_blank">
<i class="fa fa-twitter"></i>
</a>
<a href="https://www.instagram.com/CS4Usama" target="_blank">
<i class="fa fa-instagram"></i>
</a>
<a href="https://www.linkedin.com/in/usama-cs" target="_blank">
<i class="fa fa-linkedin"></i>
</a>
</div>
</div>
<script>
var show = document.getElementById("nav-links")
function showMenu()
{
show.style.right = "0";
}
function closeMenu()
{
show.style.right = "-200px"
}
</script>
</body>
</html>