html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Booknow.com</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<header class="header">
<div class="logo">Logo</div>
<div class="hamburger-menu">
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</div>
<nav class="nav">
<ul class="nav-list">
<li class="nav-list-items"><a href="#" class="nav-list-links">Home</a></li>
<li class="nav-list-items"><a href="#" class="nav-list-links">Search</a></li>
<li class="nav-list-items"><a href="#" class="nav-list-links">Contact</a></li>
<li class="nav-list-items"><a href="#" class="nav-list-links">Offers</a></li>
</ul>
</nav>
</header>
</div>
<script src="main.js"></script>
Enter to Rename, Shift+Enter to Preview
css
css
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
/* global styles */
*,
*::after,
*::before{
box-sizing:border-box;
margin: 0;
padding: 0;
}
ul{
list-style: none;
}
a{
text-decoration: none;
}
.header{
width: 100%;
min-height: 15vh;
background-color: blueviolet;
display:flex;
align-items: center;
}
.logo{
margin-left: 1em;
}
.hamburger-menu{
padding: 0.5em;
/* display: none; */
Enter to Rename, Shift+Enter to Preview
js
js
1
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run