Initial commit: todo app guide with 5 prompts and examples
Complete companion repo for "Your First Hour with Claude Code" article. Includes step-by-step prompts, example output, troubleshooting, and cost guide. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
commit
ec708ba943
10 changed files with 1089 additions and 0 deletions
25
prompts/04-add-due-dates.md
Normal file
25
prompts/04-add-due-dates.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Prompt 04: Add Due Dates
|
||||
|
||||
Copy and paste this into Claude Code:
|
||||
|
||||
---
|
||||
|
||||
Add due dates to the todo app. Requirements:
|
||||
|
||||
- Optional date picker when adding a task
|
||||
- Due date displayed next to each task in a subtle format (e.g., "Mar 20")
|
||||
- Overdue tasks highlighted with a red accent (text or border, not the whole background)
|
||||
- Tasks due today highlighted with an amber accent
|
||||
- Sort option: by date added (default) or by due date
|
||||
- Tasks without a due date sort to the bottom when sorting by due date
|
||||
- Due dates saved in localStorage
|
||||
- Keep the existing design, categories, and search working
|
||||
|
||||
---
|
||||
|
||||
## What to Expect
|
||||
|
||||
- A date picker appears in the task input area
|
||||
- Tasks show their due date on the right side
|
||||
- Overdue tasks get a red indicator
|
||||
- A sort toggle lets you switch between "added" and "due date" order
|
||||
Loading…
Add table
Add a link
Reference in a new issue