You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
976 B
30 lines
976 B
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width" />
|
|
<title>To-Do List</title>
|
|
<link rel="stylesheet" href="main.css" />
|
|
</head>
|
|
<body>
|
|
<section class="container">
|
|
<div class="heading">
|
|
<img class="heading__img" src="images/lapii.jpg" alt="Image of a laptop" />
|
|
<h1 class="heading__title">To-Do List</h1>
|
|
</div>
|
|
<form class="form">
|
|
<label class="form__label" for="todo">Enter your to-do item:</label>
|
|
<input class="form__input" type="text" id="todo" name="to-do" size="30" required />
|
|
<button class="button"><span>Submit</span></button>
|
|
</form>
|
|
<div>
|
|
<ul class="toDoList">
|
|
<!-- To-do list items will be added dynamically here -->
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
|
|
<script src="script.js"></script>
|
|
</body>
|
|
</html>
|