Skip to main content

The Detective (Debugging)

AI makes mistakes. When you see Red Text (errors) in the Console:

  1. Copy the Red Text.

  2. Paste it into Copilot Chat.

  3. Ask: “Explain this error and fix the code below: [Paste Code]”

Try running this line and ask AI why it doesn’t work:

"apple" + 5