Skip to content

Commit

Permalink
Added some comment
Browse files Browse the repository at this point in the history
  • Loading branch information
aayushyadavz committed Jun 27, 2024
1 parent 5b44014 commit 9f24f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function addTask() {
li.innerHTML = inputBox.value;
listContainer.appendChild(li);
let span = document.createElement('span'); // Creating span element
span.innerHTML = "\u00d7";
span.innerHTML = "\u00d7"; // Added that cross icon
li.appendChild(span);
}
inputBox.value = ""; // Cleaning Input field after adding task
Expand Down

0 comments on commit 9f24f4f

Please sign in to comment.