Skip to content

Commit d300a88

Browse files
committed
Add deadline input field and update todo item template to display deadline
1 parent ca95b41 commit d300a88

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎Sprint-3/todo-list/index.html‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ <h1>My ToDo List</h1>
2222
id="new-task-input"
2323
placeholder="Enter a new task..."
2424
/>
25+
<input type="date" id="new-task-deadline" />
2526
<button id="add-task-btn">Add</button>
2627
</div>
2728

@@ -36,6 +37,7 @@ <h1>My ToDo List</h1>
3637
<li class="todo-item">
3738
<!-- include class "completed" if the task completed state is true -->
3839
<span class="description">Task description</span>
40+
<span class="deadline"></span>
3941
<div class="actions">
4042
<button class="complete-btn">
4143
<span class="fa-solid fa-check" aria-hidden="true"></span>

0 commit comments

Comments
 (0)