Computers and Technology

Project Task You will be building a full todo list in the browser. It should be able to add todos, check todos off as complete, and delete todos.
Display a form to the user to add todos.
When a user types a todo into the form and hits submit, the following should happen:
A new todo should be displayed below any previous todos
Every todo in the list should have a check button next to it to check off the todo and mark it complete
Clicking the check should change the todo in someway, either marking it green or perhaps crossing it out. Check out this link here (Links to an external site.) for some inspiration.
Every todo should have an x to the right that will delete the todo.
Clicking the x should remove the todo from the page.
You'll need to attach a submit event listener to todo form and click event listeners to the check and x for each todo.
Your JavaScript code will form the conditional logic to determine whether a todo should be displayed as complete or incomplete.
Recommended Implementation:
Individual todos should be represented in an object with a text key and a complete key (the complete key should be a boolean true or false).
Individual todo objects should be stored inside an array, making an array of objects.
Representing the above in your JavaScript makes the project much easier rather than stressing about the HTML and the click events

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 05:00, edjiejwi
Lisa has a section of her document that she would like to include in the index. which option should lisa choose? mark index mark entry insert endnote add text
Answers: 3
image
Computers and Technology, 22.06.2019 15:00, nika0001
When designing content as part of your content marketing strategy, what does the "think" stage represent in the "see, think, do, care" framework?
Answers: 3
image
Computers and Technology, 22.06.2019 18:30, yeeet26
If an improvement creates no significant change in a product’s performance, then it is a(n) ? a0 design improvement. (there are no answer choices)
Answers: 1
image
Computers and Technology, 23.06.2019 14:30, qveenvslayin
The basic work area of the computer is it screen that you when you first fire up your computer
Answers: 1
Do you know the correct answer?
Project Task You will be building a full todo list in the browser. It should be able to add todos,...

Questions in other subjects:

Konu
Mathematics, 29.07.2020 21:01
Konu
Mathematics, 29.07.2020 21:01