Notes Cards

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Note Cards</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <header>
        <h1>Note Cards</h1>
    </header>
    <main>
        <div class="note-card">
            <h2>Note Title 1</h2>
            <p>This is the content of note 1. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
            <div class="actions">
                <button>Edit</button>
                <button>Delete</button>
            </div>
        </div>
        <div class="note-card">
            <h2>Note Title 2</h2>
            <p>This is the content of note 2. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
            <div class="actions">
                <button>Edit</button>
                <button>Delete</button>
            </div>
        </div>
        <div class="note-card">
            <h2>Note Title 3</h2>
            <p>This is the content of note 3. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
            <div class="actions">
                <button>Edit</button>
                <button>Delete</button>
            </div>
        </div>
    </main>
</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;
  padding: 2rem;
}

header {
  background-color: #333;
  color: #fff;
  padding: 1rem 0;
  text-align: center;
  margin-bottom: 2rem;
}

.note-card {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  transition: transform 0.2s;
}

.note-card:hover {
  transform: scale(1.02);
}

.note-card h2 {
  margin-bottom: 0.5rem;
}

.note-card p {
  margin-bottom: 1rem;
}

.actions {
  display: flex;
  justify-content: flex-end;
}

.actions button {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  margin-left: 0.5rem;
  cursor: pointer;
  border-radius: 3px;
  transition: background-color 0.3s;
}

.actions button:hover {
  background-color: #555;
}