Skip to content

TheOnlyAbdull/Todo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo-app

process

project plan

javascrip achitecture

  • when the add button is clicked.

    • added event listener to the add button when clicked,
    • the input value is gotten and stored in a variable and clearing out the imput field(formBox.value = "").
    • a new Todo text div is created.
    • the input value is displayed as paragraph in the todo-div.
  • when the check box is clicked

    • the paragraph in the todo div is [text-decoration: line-through;]
    • todo-div is [background color : white;]
  • when the cancel is pressed

    • the whole to-do div is deleted