Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions 01-To-Do List App/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ <h1 class="title">To-Do List App</h1>
/>
<button id="button">Add</button>
</div>

<div id="count">0</div>

<ul id="todo_list">
<!-- <li>Hello</li> -->
</ul>
Expand Down
2 changes: 1 addition & 1 deletion 01-To-Do List App/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function saveTodos() {
}

function updateCount() {
count.textContent = todos.length;
count.textContent = `Task count: ${todos.length}`;
}

function renderTodos() {
Expand Down
4 changes: 4 additions & 0 deletions 01-To-Do List App/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ body {
h1.title {
margin-top: 20px;
}
#count{
margin: 10px;
text-align: center;
}

#todo_app {
margin-top: 15px;
Expand Down