Skip to content
kavinanandrPublic

About

KaniTask - Determine your tasks. A responsive task management application using HTML, Tailwind CSS, and JavaScript. Implemented CRUD operations with Local Storage for persistent task management.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KaniTask – Determine Your Tasks

A simple, responsive, and interactive To-Do List application built with HTML, Tailwind CSS, and Vanilla JavaScript. KaniTask helps you organize everyday tasks with a minimal interface and browser-based data persistence using Local Storage.

Just do it. Turn your tasks into actions.

✨ Features

  • Add Tasks: Quickly add new tasks to your to-do list.
  • Persistent Storage: Uses browser Local Storage to retain saved tasks across page reloads.
  • Mark Tasks as Completed: Click on a task to apply a strikethrough effect.
  • Remove Tasks: Double-click a task to remove it from the displayed list.
  • Responsive Design: Tailwind CSS utility classes provide a layout that adapts to different screen sizes.
  • Minimal User Interface: Clean and distraction-free design with a dark background and cyan accents.
  • No Backend Required: Runs entirely in the browser without requiring a server or database.

🛠️ Built With

Technology Purpose
HTML5 Application structure and content
Tailwind CSS v4 Styling and responsive design
Vanilla JavaScript (ES6+) DOM manipulation and application logic
Browser Local Storage Client-side task persistence

External Resources

🚀 Getting Started

Follow these instructions to run KaniTask on your local machine.

Prerequisites

You only need:

  • A modern web browser (Chrome, Firefox, Edge, etc.).
  • Git installed on your machine.
  • A code editor such as Visual Studio Code (optional).

No Node.js installation, package manager, or database setup is required.

Installation

1. Clone the repository

git clone https://github.com/kavinanandr/kani-task.git

2. Navigate to the project directory

cd kani-task

3. Open the project

Open index.html directly in your browser.

Alternatively, if you use Visual Studio Code, install the Live Server extension and launch the project using Go Live.

4. Start managing your tasks!

Add your tasks and organize your daily activities with KaniTask.

📁 Project Structure

kani-task/
│
├── img/
│   └── logo.svg
│
├── index.html
├── main.js
├── vercel.json
├── .gitignore
└── README.md

File Descriptions

File / Directory Description
img/ Contains image assets used in the application.
img/logo.svg SVG logo displayed in the application header and browser favicon.
index.html Main HTML document containing the application layout, input field, task container, and Tailwind CSS integration.
main.js Handles task creation, DOM manipulation, event listeners, and Local Storage operations.
vercel.json Contains configuration for deploying the application on Vercel.
.gitignore Specifies files and directories that Git should ignore.
README.md Project documentation.

⚙️ How It Works

KaniTask uses JavaScript DOM manipulation and the browser's Local Storage API to manage tasks.

1. Adding Tasks

  • Enter a task in the input field.
  • Click the + button.
  • JavaScript creates a new task element and adds it to the task list.
  • The task array is updated and saved in Local Storage.

2. Data Persistence

KaniTask uses the browser's localStorage API to store tasks.

Tasks are converted into JSON strings using JSON.stringify() before being stored.

When the application loads, JSON.parse() retrieves the stored tasks and recreates their corresponding elements.

3. Task Completion

Clicking a task applies a strikethrough style to visually distinguish it.

The current implementation also removes that task from the stored task array.

4. Removing Tasks

Double-clicking a task removes its element from the displayed task list and updates the stored task array.

💡 Learning Outcomes

This project provided practical experience with:

  • Structuring web applications using semantic HTML.
  • Styling interfaces using Tailwind CSS utility classes.
  • JavaScript DOM manipulation.
  • Selecting and dynamically creating HTML elements.
  • Handling browser events using event listeners.
  • Working with JavaScript arrays and array methods.
  • Implementing browser Local Storage.
  • Converting JavaScript objects and arrays to and from JSON.
  • Building responsive user interfaces.

🔮 Future Improvements

Potential improvements for future versions include:

  • Add individual delete buttons for tasks.
  • Introduce separate completed and pending task states.
  • Add task editing functionality.
  • Add task categories and priority levels.
  • Implement due dates and reminders.
  • Add filters for All, Pending, and Completed tasks.
  • Improve task validation and empty-input handling.
  • Add a clear-all-tasks option.

🌐 Live Demo

Try KaniTask here:

KaniTask – Live Application

👨‍💻 Author

Kavin Anand

B.Tech Computer Science and Engineering Student | Aspiring Full-Stack Developer

📄 License

This project is open-source and available for learning and educational purposes.


⭐ If you find this project useful, consider giving the repository a star!

About

KaniTask - Determine your tasks. A responsive task management application using HTML, Tailwind CSS, and JavaScript. Implemented CRUD operations with Local Storage for persistent task management.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages