<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Notes Dashboard</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>Notes Dashboard</h1>
</header>
<nav>
<ul>
<li><a href="#personal">Personal</a></li>
<li><a href="#work">Work</a></li>
<li><a href="#reminders">Reminders</a></li>
</ul>
</nav>
<main>
<section id="personal">
<h2>Personal Notes</h2>
<div class="note">
<h3>Note Title 1</h3>
<p>This is a personal note.</p>
</div>
<div class="note">
<h3>Note Title 2</h3>
<p>This is another personal note.</p>
</div>
</section>
<section id="work">
<h2>Work Notes</h2>
<div class="note">
<h3>Note Title 1</h3>
<p>This is a work note.</p>
</div>
<div class="note">
<h3>Note Title 2</h3>
<p>This is another work note.</p>
</div>
</section>
<section id="reminders">
<h2>Reminders</h2>
<div class="note">
<h3>Reminder 1</h3>
<p>This is a reminder.</p>
</div>
<div class="note">
<h3>Reminder 2</h3>
<p>This is another reminder.</p>
</div>
</section>
</main>
<footer>
<p>© 2024 Notes Dashboard</p>
</footer>
</body>
</html>
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: #f4f4f4;
color: #333;
}
header {
background-color: #333;
color: #fff;
padding: 1rem 0;
text-align: center;
}
nav {
background-color: #444;
color: #fff;
padding: 0.5rem 0;
}
nav ul {
list-style: none;
display: flex;
justify-content: center;
}
nav ul li {
margin: 0 1rem;
}
nav ul li a {
color: #fff;
text-decoration: none;
}
main {
padding: 2rem;
}
section {
margin-bottom: 2rem;
}
section h2 {
border-bottom: 2px solid #333;
padding-bottom: 0.5rem;
margin-bottom: 1rem;
}
.note {
background-color: #fff;
border: 1px solid #ccc;
padding: 1rem;
margin-bottom: 1rem;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.note h3 {
margin-bottom: 0.5rem;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 1rem 0;
position: fixed;
bottom: 0;
width: 100%;
}