avinash201199 / avinash201199/To-Do-List
Improve Input Validation and UX for Adding Tasks
Open
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
Assessment
This issue has not been assessed yet.