Akademiacademy / vibe-102 / update-delete
Update and Delete
Apa ini
Update dan delete ialah app behavior seterusnya.
Untuk Mission Task Tracker, update maksudnya mark complete atau incomplete. Delete maksudnya buang task.
Kenapa penting
App kebanyakannya ialah perubahan data.
Add create item. Update ubah item. Delete buang item.
Apa nak buat
Guna prompt ini:
Copy prompt
CONTEXT:
I am building my Vibe 102 mini app.
CURRENT STATE:
I can add items and see them in the list.
TASK:
Add update and delete behavior.
Requirements:
- user can mark an item complete or incomplete
- completed items look visually different
- user can delete an item
- do not add localStorage yet
Rules:
- keep the UI clean
- explain the update logic step by step
- explain which files changed
- do not add filters or extra featuresTest satu item:
- Add item.
- Mark complete.
- Mark incomplete.
- Delete item.
Mistake biasa
- Delete item yang salah.
- Update dengan ubah text sahaja.
- Tambah terlalu banyak button sebelum behavior asas jalan.
Vibe 102 / Checkpoint sekarang
Update dan Delete
Sedia untuk stamp - Disimpan dalam browser ini sahaja.
0 daripada 11 checkpoints complete
0 daripada 11 checkpoints complete.