Have a coding question? Ask Teacher Xiaogang

Teacher Xiaogang is an AI coding tutor. She can help you understand concepts, read code, and analyze errors, talking through your questions in a language you know.

Explain concepts

Understand abstract concepts with examples, from loops and variables to functions.

Explain what a variable is using an example from a game.

Analyze code

Share your code and its results, and look for the problem together.

I want the character to jump once, but it keeps jumping. What should I check?

Explore ideas

Add a feature to an existing project and discuss how to build it.

My treasure hunt game already keeps score. How can I add a countdown timer?

Speak your question and hear the answer

Tap the microphone to start speaking. When you’re done, check the recognized text, then send it to Teacher Xiaogang. Turn on read-aloud to hear her explanation; stop or replay it anytime.

Chat in a language you know

Voice input detects the language automatically. Teacher Xiaogang replies in the language of your question. Change the interface language in the top-right corner.

Make your questions easier to answer

Tell her what you want to make, what you’ve written so far, and what actually happens. After your discussion, put the code in the Coding Center and run it to see what changes.

Start your first coding project