About Code Harbor

We want children to learn how to use code to bring their ideas to life. Code Harbor brings together online coding tools, project practice, and an AI tutor, so they can start creating and asking questions anytime.

Designed for hands-on learning

Children write programs in the editor, watch them run, and save their projects. If they have a question, they can ask Teacher Xiaogang by text or voice.

What skills will children practice?

Logical thinking

Break a problem into steps and turn them into a program.

Hands-on problem solving

Run code, find errors, and try making changes.

Create and express

Design your own project and explain how it works.

Two ways in, learning together

Python Drawing Examplehexagon.py
import turtle

t = turtle.Turtle()
for _ in range(6):
    t.forward(100)
    t.right(60)
Draw a hexagon with a loop that repeats 6 times.

Online Coding Center

Explore courses, write code, and submit assignments. Turn every practice session into your own project.

  • Scratch & Python Programming
  • Courses, assignments & project management
  • Teacher grading & feedback
Open Coding Center
Xiaogang · AI TutorSample conversation

Why won’t my loop stop?

Let’s look at the loop’s stopping condition first. How many times do you want it to repeat?

Start a conversation with your question

Xiaogang · AI Tutor

Have a question? Just ask Teacher Xiaogang. Chat by text or voice to understand code, analyze errors, and try new approaches together.

  • Multilingual conversations
  • Voice input & read-aloud
Chat with Teacher Xiaogang

Start in a language you know

The website, Coding Center, and AI tutor support Simplified Chinese, Traditional Chinese, English, French, German, Russian, and Arabic. On your first visit, the language follows your browser settings, and you can change it anytime.

Start your first coding project