avinash201199 / avinash201199/To-Do-List

Improve Input Validation and UX for Adding Tasks

Open
#379 1 comment 0 reactions 1 assignee Claimed by @Dhanyasri7 View on GitHub
hacktoberfest hacktoberfest-accepted
Dominant language
HTML
Stars
99
Forks
193
PR merge metrics
No merged PRs in 30d

Description

Currently, the To-Do-List app allows users to add empty or whitespace-only tasks, which affects usability and clarity.

💡 Expected Behavior:

The app should prevent adding empty tasks.

If the user clicks “Add” with no input, show a short, clear message like:

⚠️ Please enter a task before adding.

Optionally, disable the “Add” button until input is non-empty.

(Bonus) Add a character limit (e.g., 100 chars) with a small counter or visual feedback.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.