Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewoaragao committed Dec 12, 2023
1 parent 1bbfaaf commit 1d7411b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ addTaskButton.addEventListener("click", function () {

taskList.appendChild(li);
taskInput.value = "";
taskInput.focus();
} else {
alert("Enter a task");
}
Expand Down

0 comments on commit 1d7411b

Please sign in to comment.