Prerequisites
- Cline installed in your editor (Install Guide)
- AI model connected (Model Setup)
- Any folder open in your editor (empty folder works best)
Give Cline a Task
Click the Cline icon in your editor’s sidebar to open the chat panel. Paste this prompt:Discuss Your Plan with Cline
Cline may start in Plan mode, where it analyzes your request and discusses the approach without making any changes yet. This is a great opportunity to have a conversation:- Ask questions about the implementation
- Clarify requirements
- Discuss alternative approaches
- Refine the plan together
For simple tasks, you can start directly in Act mode. Use Plan mode when you want to think through a problem before committing to an approach. Learn more in the Plan and Act guide.
Approve or Reject Changes
Cline asks permission before modifying your project. When it wants to create or edit a file, you’ll see a diff preview showing exactly what will change.- Click Approve to let Cline proceed
- Click Reject to stop and provide different instructions
Once you’re comfortable with Cline, you can enable auto-approve to skip confirmations for specific actions.
Watch Cline Work
After approval, Cline creates your files. You’ll see:- File diffs showing each change
- Token usage tracking your API costs
- A summary when the task completes
index.html file with HTML structure, CSS styling, and JavaScript logic.
View Your Todo App
Open the file to see your app in action: Option 1: Terminal commandindex.html in your editor’s file explorer, right-click, and select “Reveal in Finder” (Mac) or “Reveal in File Explorer” (Windows). Double-click to open in your browser.
Option 3: Live Server
If you have the Live Server extension, right-click index.html and select “Open with Live Server” for auto-refresh on changes.
Try adding a few tasks, marking them complete, and deleting them. The app works entirely in your browser with no backend required.
Iterate on Your Project
Cline remembers your conversation context. In the same chat, try follow-up requests:Undo Mistakes with Checkpoints
Cline automatically saves checkpoints after each change. If something breaks or you don’t like a modification, you can restore to any previous state. Look for the Compare and Restore buttons next to each step in your conversation:- Compare shows what files changed at that step
- Restore lets you roll back your project
| Option | What it does |
|---|---|
| Restore Task and Workspace | Resets both your files and conversation to that point |
| Restore Task Only | Keeps file changes but reverts conversation context |
| Restore Workspace Only | Resets files but keeps conversation context |
What You Learned
You built a functional todo app and learned the core Cline workflow: describe what you want, approve the changes, and iterate with follow-up requests. You also discovered checkpoints for undoing mistakes and Plan/Act modes for tackling complex problems. These patterns scale from simple scripts to large applications. The more context you give Cline about your project, the better results you’ll get.Need Help?
- Start fresh: Type
/newin the chat to begin a new task - Report issues: Use
/reportbugto help us improve - Get support: Join our Discord community

