<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SabkaCode - With Coding</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
}
header {
background-color: #3498db;
color: #fff;
text-align: center;
padding: 1em;
}
nav {
background-color: #2c3e50;
color: #fff;
text-align: center;
padding: 0.5em;
}
nav a {
color: #fff;
text-decoration: none;
padding: 0.5em 1em;
display: inline-block;
}
nav a:hover {
background-color: #34495e;
}
nav .dropdown {
display: inline-block;
}
nav .dropdown-content {
display: none;
position: absolute;
background-color: #2c3e50;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
z-index: 1;
}
nav .dropdown:hover .dropdown-content {
display: block;
}
main {
padding: 20px;
}
.card-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
margin-top: 20px;
}
.card {
background-color: #ecf0f1;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease;
}
.card:hover {
background-color: #3498db;
color: #fff;
}
footer {
background-color: #34495e;
color: #fff;
text-align: center;
padding: 1em;
position: fixed;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<header>
<h1>SabkaCode</h1>
<p>With Coding</p>
<!-- Placeholder for logo image -->
<img src="path/to/your/logo.png" alt="SabkaCode Logo" style="max-width: 100%;">
</header>
<nav>
<a href="#">Home</a>
<a href="#">Notes</a>
<a href="#">Codes</a>
<div class="dropdown">
<a href="#">Resources</a>
<div class="dropdown-content">
<a href="#">Previous Papers</a>
<a href="#">Syllabus</a>
</div>
</div>
</nav>
<main>
<!-- Card grid for different sections -->
<h2>Explore SabkaCode Sections</h2>
<div class="card-container">
<!-- Card 1 - Home -->
<div class="card">
<h3>Home</h3>
<p>Discover the latest updates and announcements.</p>
</div>
<!-- Card 2 - Notes -->
<div class="card">
<h3>Notes</h3>
<p>Access comprehensive study materials and notes.</p>
</div>
<!-- Card 3 - Codes -->
<div class="card">
<h3>Codes</h3>
<p>Explore coding examples and solutions.</p>
</div>
<!-- Card 4 - Resources -->
<div class="card">
<h3>Resources</h3>
<p>Find previous papers and detailed syllabus information.</p>
</div>
</div>
</main>
<footer>
<!-- Add footer content, copyright information, etc. -->
© 2023 SabkaCode. All rights reserved.
</footer>
</body>
</html>