joshuadablo.comAll posts

October 17, 2026 ยท 5 min read

Fix Your Website with a Screenshot: Editing Pages with AI

Can't find the words for what's wrong with your page? Show it instead. A screenshot and one sentence is often all your AI coding agent needs.

Video not loading? Watch the reel on Facebook.

"The button on the right is a bit too low, and the card next to it looks squished on my phone." Try explaining that in text and the AI will guess, change the wrong thing, and you go back and forth five times.

Most AI coding tools can read images now. Claude Code, Codex, Cursor and the ChatGPT and Claude apps all accept a screenshot. So instead of describing the problem, you show it.

How it works

  1. Take a screenshot of the problem. On Windows, press Win + Shift + S and drag over the part of the page you mean. On a Mac, press Cmd + Shift + 4.
  2. Give it to your agent. Paste or drag the image into the chat. In a terminal agent you can also save the image in your project and mention its file name.
  3. Say what you want in one sentence. "Make this button line up with the text next to it" is enough.
  4. Check the result in your browser and send a new screenshot if it's still not right.

What it's great for

Five habits that make it work every time

  1. Mark it up. Draw a red box or arrow on the screenshot around the exact problem. The Snipping Tool on Windows lets you do this right after you capture.
  2. Say which page. "This is the checkout page" helps the agent find the right file instead of searching the whole project.
  3. One change per screenshot. Three problems in one image means three guesses. Fix them one at a time.
  4. Show the screen size. If it only breaks on phones, say so, or take the screenshot with your browser's phone view.
  5. Ask for proof. End with "Tell me which file you changed and what you changed." If your agent can open a browser, ask it to take its own screenshot after the fix to compare.

A prompt you can copy: "This screenshot is from the checkout page on a phone. The red box shows the Pay button overlapping the total. Fix it so they sit on separate lines. Change only what's needed, then tell me which file you edited."

When it won't help

A screenshot shows what the page looks like, not why the data is wrong. If a total is calculated wrong or a form doesn't save, the problem is in the logic, and you need the error message or logs instead. For that kind of bug, see Debug Your App with AI.

Try it today: take a screenshot of the one thing on your site that bugs you most, and hand it to your AI.

New to building with AI? Start with my free AI Starter course, and follow my Facebook page for more.