Skip to content

Commit

Permalink
Merge pull request #223 from Sajal24/Sajal-NavBar
Browse files Browse the repository at this point in the history
Added Navbar Issue #12
  • Loading branch information
IshitaSatpathy committed Oct 18, 2022
2 parents a497609 + a03a975 commit 296f869
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Sajal_N/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="styles.css" />
<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>Navbar</title>
</head>
<body>
<div class="container">
<div class="topicName">
<h3>NAVBAR</h3>
</div>

<div class="menu">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Sector</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
</div>
</body>
</html>
45 changes: 45 additions & 0 deletions Sajal_N/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}

.container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
background-color: blanchedalmond;
}

.topicName {
margin-left: 20px;
}

.topicName h3 {
font-size: 35px;
}

.menu {
width: 28%;
}

a {
text-decoration: none;
font-size: 22px;
color: darkolivegreen;
}

ul {
display: flex;
justify-content: space-between;
padding: 5px;
margin-right: 10px;
}

li {
list-style: none;
}

0 comments on commit 296f869

Please sign in to comment.