User can create a task with the white space/blank title - todoApp #54588
Labels
new javascript course
These are for issues dealing with the new JS curriculum
scope: curriculum
Lessons, Challenges, Projects and other Curricular Content in curriculum directory.
status: discussing
Under discussion threads. Closed as stale after 60 days of inactivity.
status: waiting triage
This issue needs help from moderators and users to reproduce and confirm its validity and fix.
type: bug
Issues that need priority attention. Platform, Curriculum tests (if broken completely), etc.
Describe the Issue
STEPS TO REPRODUCE:
ACTUAL RESULT:
The user created empty task even though title field is required
Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-localstorage-by-building-a-todo-app/step-65
Your code
Expected behavior
User should not be able to create an empty title, as it goes against what we set on HTML.
as discussed with @jdwilkin4 under the issue #54524
Ex. of expected behavior 1:
Ex. of expected behavior 2:
JS
HTML
Screenshots
System
Device: Laptop
OS: Windows 11 Home
Browser: Chrome
Version: 124.0.6367.61
Additional context
No response
The text was updated successfully, but these errors were encountered: