Repository navigation
Expand file tree
/
Copy pathfile.html
More file actions
122 lines (108 loc) · 3.22 KB
/
Copy pathfile.html
File metadata and controls
122 lines (108 loc) · 3.22 KB
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
<html lang="en">
<head>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="NAME.html">NAME</a>: GODSFAVOUR AKWATA</li>
<li><a href="emaill.html">Email</a>: hisbarrytech@gmail.com</li></ul>
<li><a href="USER-NAME.html">Username</a>: BARRY</li>
</nav>
<header class="GODSFAVOUR AKWATA">
<h1> HNG-INTERNSHIP</h1>
<p>Discover my work and projects</p>
<p>STAGE ZERO TASK</p>
<p>HNG INTERNSHIP</p>
<p>@OFFICIAL WEB PAGE <a href="https://hng.tech">https://hng.tech</a></p>
</header>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>First task</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
/* {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #333;
padding: 10px;
color: white;
} */
nav{
display: flex;
justify-content: space-between;
align-items: center;
background-color: #333;
padding: 10px;
color: white;
}
div
{
font-size: 1.5em;
}
button
{
display: none;
background-color: #333;
color: white;
border: none;
font-size: 1.5em;
cursor: pointer;
}
ul
{
list-style: none;
display: flex;
margin: 0;
padding: 0;
}
.navbar-menu li {
margin: 0 10px;
}
.navbar-menu a {
color: white;
text-decoration: none;
padding: 8px 16px;
display: block;
}
.navbar-menu a:hover {
background-color: #575757;
}
@media (max-width: 768px) {
.navbar-menu {
display: none;
flex-direction: column;
width: 100%;
}
.navbar-menu li {
margin: 0;
}
.navbar-toggle {
display: block;
}
.navbar-menu.active {
display: flex;
}
}
</style>
<section class="content">
<!-- Add your content here -->
</section>
<footer class="footer">
<p>© AKWATA GODSFAVOUR </p>
</footer>
<script src="script.js">
document.getElementById('navbarToggle').addEventListener('click', function() {
const menu =
document.getElementById('navbarMenu');
menu.classList.toggle('active');
});
</script>
</body>
</html>