Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1008 Bytes

File metadata and controls

30 lines (24 loc) · 1008 Bytes

TODO App

Simple, lightweight To-Do list web app.

Features

  • Add tasks (click "Add" or press Enter).
  • Mark tasks complete (toggle strike-through).
  • Remove tasks.
  • Limits to 5 tasks.

Files

Quick Start

  1. Open index.html in your browser (or serve via Live Server).
  2. Type a task in the input and:
    • Click "Add" (calls addTask), or
    • Press Enter (handled in script.js keydown listener).
  3. Click a list item to toggle complete.
  4. Click the × icon to remove a task.

Behavior details

  • New list items are created with createLi.
  • The app prevents adding more than 5 tasks (uses li_list length check).

Development