Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Easy/Regen_Task2/Output/2025-05-03 20-59-21.mp4
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
91 changes: 91 additions & 0 deletions Easy/Regen_Task2/Style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
* {
font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;

}

body {
background-color: #F6D8AE;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
background-color: #2E4057;
height: 100px;
max-width: 100%;
box-sizing: border-box;
}


.logo {
width:300px;
background-color: #2E4057;
}
.logo h1 {
color: white;
background-color: #2E4057;
}

nav {
display: flex;
color:black;
background-color: #2E4057;
justify-content: space-between;
gap: 20px;
margin-right: 80px;
}

.dropdown {
background-color: #2E4057;
position: relative;
display: inline-block;
}

.dropbtn {
background-color: #95B8D1;
font-size:large;
color: black;
height: 57px;
padding: 10px 20px;
border-color: azure;
border-radius: 7px;
cursor: pointer;
}

.dropdown_content {
display: none;
position: absolute;
background-color: #95B8D1;
min-width: 160px;
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
z-index: 10;
}

.dropdown_content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}

.dropdown_content a:hover {
background-color: #68869b;
}

.dropdown:hover .dropdown_content {
display: block;
}

.dropdown:hover .dropbtn {
background-color: #68869b;
}

@media (max-width: 768px) {
.dropbtn {
padding: 10px 15px;
}
.dropdown_content {
min-width: 140px;
}
}
41 changes: 41 additions & 0 deletions Easy/Regen_Task2/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="Style.css">
<title>Regen's Navigation Bar</title>
</head>
<body>
<header>
<div class="logo">
<h1> Brand Name </h1>
</div>
<nav>
<div class="dropdown">
<button class="dropbtn"> Menu </button>
<div class="dropdown_content">
<a href="#"> Link for $ </a>
<a href="#"> Link for # </a>
<a href="#"> Link for % </a>
</div>
</div>
<div class="dropdown">
<button class="dropbtn"> Contact Me! </button>
<div class="dropdown_content">
<a href="https://github.com/regenpalkar28"> My Github </a>
<a href="https://www.linkedin.com/in/regen-palkar-367044330/"> My Linkedin </a>
</div>
</div>
<div class="dropdown">
<button class="dropbtn"> Services </button>
<div class="dropdown_content">
<a href="#"> Link for U </a>
<a href="#"> Link for V </a>
<a href="#"> Link for W </a>
</div>
</div>
</nav>
</header>
</body>
</html>