A simple, minimal To-Do List web application built with Flask. Add and delete tasks in your browser with a clean, modern UI.
- Add new tasks to your to-do list
- Delete tasks with a single click
- Responsive and modern design using custom CSS
- No database required (tasks are stored in memory for demo simplicity)
Flask/
└── To-Do/
├── static/
│ └── css/
│ └── todo.css
├── templates/
│ ├── base_todo.html
│ └── todo.html
└── todo.py
todo.py: Main Flask applicationtemplates/base_todo.html: Base HTML templatetemplates/todo.html: To-Do list page templatestatic/css/todo.css: Custom CSS for styling
-
Clone the repository:
git clone <your-repo-url> cd Flask/To-Do
-
(Optional) Create a virtual environment:
python -m venv venv # On Windows: venv\Scripts\activate # On macOS/Linux: source venv/bin/activate
-
Install Flask:
pip install flask
-
Run the application:
python todo.py
-
Open your browser and visit:
http://127.0.0.1:5000/
- Add a Task:
Enter your task in the input box and click "Add". - Delete a Task:
Click the "[Delete Task]" link next to any task to remove it.
Note: Tasks are stored in memory and will reset when the server restarts.
- Change Styles:
Editstatic/css/todo.cssto update colors, fonts, or layout. - Modify Templates:
Updatetemplates/todo.htmlortemplates/base_todo.htmlfor layout changes.
- Flask (Python web framework)
This project is for educational and personal