Example output
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project Management Tool</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #f4f4f4;
}
.container {
width: 80%;
margin: auto;
overflow: hidden;
}
header {
background: #333;
color: #fff;
padding: 10px 0;
text-align: center;
}
.nav {
display: flex;
justify-content: center;
gap: 20px;
}
.nav a {
color: #fff;
text-decoration: none;
padding: 5px 10px;
border-radius: 5px;
background: #555;
}
.nav a:hover {
background: #666;
}
.board {
margin: 20px 0;
padding: 20px;
background: #fff;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.board h2 {
margin-top: 0;
}
.task {
border: 1px solid #ddd;
border-radius: 5px;
margin: 10px 0;
padding: 10px;
background: #f9f9f9;
}
.task-header {
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
}
.task-content {
display: none;
margin-top: 10px;
}
.task-content p {
margin: 0;
}
.notifications {
padding: 10px;
background: #e3f2fd;
border: 1px solid #b3e5fc;
border-radius: 5px;
margin: 20px 0;
}
.integrations {
padding: 10px;
background: #e8f5e9;
border: 1px solid #c8e6c9;
border-radius: 5px;
margin: 20px 0;
}
.integration-list {
list-style-type: none;
padding: 0;
}
.integration-list li {
margin: 5px 0;
}
.integration-list a {
color: #388e3c;
text-decoration: none;
}
.integration-list a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<header>
<h1>Project Management Tool</h1>
<nav class="nav">
<a href="#">Home</a>
<a href="#">Projects</a>
<a href="#">Tasks</a>
<a href="#">Reports</a>
<a href="#">Settings</a>
</nav>
</header>
<div class="container">
<div class="notifications">
<strong>Notifications:</strong>
<p>No new notifications.</p>
</div>
<div class="board">
<h2>Project Board</h2>
<div class="task">
<div class="task-header">
<span>Task 1: Design Layout</span>
<span onclick="toggleContent(this)">+</span>
</div>
<div class="task-content">
<p><strong>Description:</strong> Design the layout for the project management tool.</p>
<p><strong>Due Date:</strong> August 30, 2024</p>
<p><strong>Status:</strong> In Progress</p>
</div>
</div>
<div class="task">
<div class="task-header">
<span>Task 2: Implement Features</span>
<span onclick="toggleContent(this)">+</span>
</div>
<div class="task-content">
<p><strong>Description:</strong> Implement the core features and functionalities.</p>
<p><strong>Due Date:</strong> September 10, 2024</p>
<p><strong>Status:</strong> Not Started</p>
</div>
</div>
</div>
<div class="integrations">
<strong>Integrations:</strong>
<ul class="integration-list">
<li><a href="#">Slack</a></li>
<li><a href="#">Google Drive</a></li>
<li><a href="#">Zoom</a></li>
</ul>
</div>
</div>
<script>
function toggleContent(button) {
const content = button.parentElement.nextElementSibling;
if (content.style.display === 'block') {
content.style.display = 'none';
button.textContent = '+';
} else {
content.style.display = 'block';
button.textContent = '-';
}
}
</script>
</body>
</html>