We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try to reuse the following code in the if-else statement
To-Do-list/src/index.js
Line 17 in e0e871c
todos.innerHTML += `<li id="${todo.index}" class="todo_list checked__list"> <div> <input class="checkbox-input" type="checkbox" id="todo${todo.index}" name="todo${todo.index}" checked> <label for="todo${todo.index}">${todo.description}</label> </div> <button id="${todo.index}" class="btn btn-remove"> <i class="fa-solid fa-trash"></i> </button> </li>`; }
Try to reuse the following code in deleTodo and deleteAllTodo functions.
To-Do-list/src/modules/action.js
Line 38 in e0e871c
todoDataRemoved.forEach((task, index) => { task.index = index + 1; });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Try to reuse the following code in the if-else statement
To-Do-list/src/index.js
Line 17 in e0e871c
Try to reuse the following code in deleTodo and deleteAllTodo functions.
To-Do-list/src/modules/action.js
Line 38 in e0e871c
The text was updated successfully, but these errors were encountered: