32 lines
956 B
HTML
32 lines
956 B
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title>To-Do List</title>
|
||
|
<link rel="stylesheet" href="styles.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<header>
|
||
|
<h1>To-Do List</h1>
|
||
|
</header>
|
||
|
<div class="container">
|
||
|
<div class="input-section">
|
||
|
<input type="text" id="todo-input" placeholder="Add a new task">
|
||
|
<button id="add-button">Add</button>
|
||
|
<button id="random-task-button">Show Random Task</button> <!-- Nowy przycisk -->
|
||
|
</div>
|
||
|
<div class="list-section">
|
||
|
<ul id="todo-list"></ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="popup" class="popup">
|
||
|
<div class="popup-content">
|
||
|
<span class="close">×</span>
|
||
|
<p id="random-task-text"></p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<script src="scripts.js"></script>
|
||
|
</body>
|
||
|
</html>
|