-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
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
NW6 | Orlando_Morales | JS2_Module_Todo-List | Week3 #213
base: main
Are you sure you want to change the base?
NW6 | Orlando_Morales | JS2_Module_Todo-List | Week3 #213
Conversation
… into JS2-Week3-quotegenerator
… into JS2-Week3-todolist
✅ Deploy Preview for cute-gaufre-e4b4e5 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a very good design, really like the look and feel. Easily one of the best I've seen so far.
However, some crucial requirements are missing:
- Setting deadline for todos
- Ability to mark a todo as completed
- Clearing Completed todos
<div class="wrapper"> | ||
<header>Todo-List</header> | ||
<div class="inputField"> | ||
<input type="text" placeholder="Add your new Todo" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
user's should enter the todo, and also set the deadline date, the date input field is missing
</ul> | ||
<div class="footer"> | ||
<span>You have <span class="pendingTasks"></span> pending tasks</span> | ||
<button>Clear All</button> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't need a clear all button from the requirements, we need a "Clear Completed Todo" button/feature
const todoList = document.querySelector(".todoList"); | ||
const deleteAllBtn = document.querySelector(".footer button"); | ||
|
||
inputBox.onkeyup = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is good
|
||
// These are the same todos that currently display in the HTML | ||
// You will want to remove the ones in the current HTML after you have created them using JavaScript | ||
let todos = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
by default, these tasks should be displayed on the home page
Learners, PR Template
Self checklist
Changelist
Briefly explain your PR.
Questions
Ask any questions you have for your reviewer.