EXAMPLES / TRY IT YOURSELF
Make a small to-do app with friendly icons
Add tasks, mark them complete and delete them. Start with a small HTML, CSS and JavaScript app without installation.
01 / TRY IT
Start right here.
Type a task and press Add. Check it to complete it, or press × to delete it.
One small thing today
Your list is empty.
Practice app. Entries disappear on refresh.
Scope and saving
Practice data stays in this page. No accounts, server or persistence; refreshing clears the list. Do not enter personal information.
This runs from the included source files. The example code contains no ads or analytics.
02. Download and run it yourself
HTML · CSS · JavaScript · Assets · EN/KO guides
v1.0.0 · 0.01 MB ·- Extract the complete ZIP and open index.html. It includes check/close icons and bilingual READMEs.
- Enter a small task such as “Change the button color,” add it, mark it complete and then delete it.
- Check the empty-state message and long-text wrapping. This example is limited to 120 characters per task and 50 tasks.
- Give the files to your AI with a specific change request. Before adding persistence, decide what should be stored and where; this first exercise intentionally resets on refresh.
Files and verification details
index.html · styles.css · app.js · assets/ · README-KO/EN · LICENSE.txt
Example code and included assets are shared under CC0; credit is optional. The kit contains the files needed for this exercise, not the entire original asset pack. Text and app state are not saved.
SHA-256: 9d4815ccc0e4e409988794eb7c6b30ce3844257a04975492494d48cda6df6a75
03. Adapt it to your own project
Keep the original ZIP and edit a copy. Give your AI the actual files along with the prompt. This is a concrete example request for modifying this starter.
Read the attached todo-app HTML, CSS and JavaScript. Keep add, complete, delete and empty-state behavior, then add a button to sort completed tasks last. Treat user input as text, never insert it with innerHTML. Preserve the 120-character/50-task limits, keyboard access and wrapping at 320px. Do not add accounts, a server, analytics or automatic saving. Explain changed files and a click-by-click test plan.
04. Check the result
- Empty or whitespace-only input does not add a task
- Normal and long text wrap without overflowing
- Completed count matches checked items and updates after deletion
- HTML-looking input is displayed as text, not executed
- Refresh returns to an empty list
If it does not run, check that the entire ZIP was extracted. Mobile file-preview apps may not run it; check in a desktop browser first.