CodeWithHarry/todo-list — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple todo list web app that runs in the browser with no setup or backend. I want it to feel clean and modern, with a nice gradient style, smooth little animations, and a layout that works well on both desktop and mobile.

Users should be able to type a task, add it with a button or by pressing Enter, check tasks off when they’re done, and delete tasks with a confirmation so they don’t remove things by accident. Show live counts for total tasks, completed tasks, and remaining tasks. If there are no tasks, show a friendly empty message.

Please save everything in the browser so the list is still there after refreshing or closing the page. Include a few sample tasks when someone opens it the first time. Keep it as plain HTML, CSS, and JavaScript, all easy to open from an index.html file. Make sure task text is handled safely so typed HTML or scripts don’t run.

Want more depth? Deep Reverse