CBX / BLOCK / 01
Scratch Coding for Kids
Games with events and conditions.
Open the syllabusHong Kong · Age 9 · Usually P4
At nine, most Hong Kong children are in P4, the year the EDB's coding module starts. That changes the question. It is no longer "should my child code?" but "what will school cover, and what comes on top?" We teach nine year olds one to one, live online, in English, usually taking them from blocks to their first typed Python while school teaches the concepts in class.
Live classes since 2020 · 10,000+ students worldwide · Hong Kong classes run one to one, online, in English
In one paragraph
Coding classes for 9 year olds should build on what school starts: in Hong Kong a nine year old is usually in P4, where EDB schools teach about 10 to 14 hours of block coding a year on abstraction, algorithms and automation. Nine is also when many children are ready to type real Python. Modern Age Coders teaches nine year olds live online, one to one, in English, at Hong Kong times your family picks, so the child moves faster and further than a class period allows.
Courses first
Nine opens our first typed-code courses. Most Hong Kong nine year olds who come to us start on one of these three, chosen by what the child wants to make.

CBX / 01
The first typed language, through turtle drawings like the polygons below, text games and small smart projects. Where most nine year olds who already know blocks begin.
Open the syllabus →
CBX / 02
Real web pages in HTML and CSS, then a little JavaScript: a hobby site, a quiz, a page about their favourite animal, published and shared.
Open the syllabus →
CBX / 03
Typed Luau scripts inside a game world. For the child who will happily type if the reward is a game their friends can join.
Open the syllabus →P4 in Hong Kong
In P4. The EDB's Enriched Module on Coding Education for Upper Primary Level was issued for P4 with EDBCM 109/2023, followed by modules for P5 and P6. Publicly funded schools are asked to give every upper primary pupil 10 to 14 hours of coding a year.
The EDB's 2020 supplement suggests schools "allocate one lesson (35/40 minutes per lesson) per week at each upper primary level". By our arithmetic, 10 hours in 40-minute lessons is 15 lessons, and 14 hours in 35-minute lessons is 24. So a P4 child gets somewhere between about 15 and 24 short coding lessons in the school year.
CoolThink@JC, whose materials the EDB adapted for primary schools, describes "14+ hours of computational thinking and coding education in formal ICT lessons annually to P4-6 students".
The module "covers basic computational thinking concepts, namely abstraction, algorithm and automation" (EDBCM 109/2023). The supplement is candid that the goal "is not to train and nurture computer programmers" but to give children hands-on problem solving.
That is a sound aim for a whole class. It also leaves room: a child who enjoys it will want to type real code, build bigger projects, and get help when stuck, which a shared 35-minute lesson cannot always give.
For the full P4 to P6 picture, see our online coding classes for Hong Kong kids page; for the same age outside Hong Kong, our coding for 9 year olds guide.
What the EDB asks
The EDB's 2020 supplement lists learning contents for P4 to P6 under abstraction, algorithm and automation. On the left are some of its own phrases; on the right, what a nine year old does with each in our lessons.
| In the EDB supplement's words | Element | What a nine year old does with us |
|---|---|---|
| "Recognise the pattern" | Abstraction | Sees that a square is "walk, turn" four times |
| "Know how to decompose the problem" | Abstraction | Splits a house drawing into a square and a triangle |
| Comparison and logical operators | Algorithm | Writes "if score > 10" in a game |
| Repetition of process (iteration) | Algorithm | Replaces copied lines with a loop |
| Storing and changing a variable | Algorithm | Keeps a turn angle in a variable and changes it |
| "Develop appropriate steps and data to test programs" | Algorithm | Tries 3, 4, 5 and 9 sides to test a polygon program |
| Automation and physical objects | Automation | Talks about where programs run in daily life; we teach no hardware |
Source: Curriculum Development Council, Computational Thinking: Coding Education, Supplement to the Primary Curriculum (2020), chapter 3, learning elements for key stage 2; EDBCM 109/2023. Read 23 November 2026. Quoted phrases are the EDB's; other cells are our summaries. The right column is our practice.
The vocabulary and the big ideas: sequence, condition, loop, variable. Block tools such as Scratch and App Inventor, which the supplement names. Working in pairs, explaining ideas, short structured tasks.
For most children this is a genuinely good start, and we build on it rather than repeat it.
Typed code, which school rarely reaches in P4. Time to be stuck and get unstuck with someone watching. Projects the child chooses. And a pace that fits: some nine year olds race through the school unit in weeks.
Our one-on-one coding tutor page explains how a private lesson diagnoses and adjusts.
A contest for P4 to P6
Yes, through school. The Hong Kong Primary Schools Olympiad in Informatics (HKPSOI), run by HKACE, HKOI and MERS, is open to P4 to P6 pupils whose school applies. It uses Blockly, so a nine year old needs no typing.
| Item | What the organiser publishes |
|---|---|
| Who can enter | "All primary schools in Hong Kong may apply"; schools may let P4 to P6 pupils log in |
| Language | Blockly, a block language suited to primary pupils |
| Heat format | 10 days, each day a 3-minute online quiz game |
| Heat dates, 2026/27 | Monday 7 December to Friday 18 December 2026 |
| Who goes through | Each school's top four P4 to P6 scorers form a merged list; not more than 180 contestants advance |
| Final, 2026/27 | Saturday 20 February 2027: 1 hour of problems on a tablet computer |
Sources: HKOI website, HKPSOI Introduction, Rules, 2026/27 Heat Event and 2026/27 Final Event pages, read 23 November 2026. We are not connected with HKPSOI, HKOI or the organisers, and we never promise a result.
For a child who likes puzzles, often yes. Three minutes a day for ten days is gentle, and a P4 child is up against P5 and P6 pupils, so there is no pressure to win. The value is the habit of reasoning quickly about block programs.
Entry is through the school, so ask the class teacher or ICT teacher whether your school has applied.
We do not drill past questions. We build the thinking such contests test: tracing what a program does, predicting loops, spotting the bug, with puzzles we write ourselves.
For older children, the secondary contest is a different world, run mainly in C++. Our Python course page for Hong Kong shows how children progress towards it.
A first typed lesson, in full
A favourite first typed lesson: a pen that walks forward and turns. The child draws a square, then a hexagon, then tries to be clever with a hexagon's inside angle and gets a triangle. Working out why teaches loops, angles and testing at once.
# A pen that walks and turns: our own turtle-style lesson for a 9 year old, no graphics needed.
import math
def walk(sides, step, turn):
x, y, heading = 0.0, 0.0, 0.0
corners = set()
for _ in range(sides):
x += step * math.cos(math.radians(heading))
y += step * math.sin(math.radians(heading))
heading += turn
corners.add((round(x, 2) + 0.0, round(y, 2) + 0.0))
return len(corners), heading
for name, sides, turn in [("square", 4, 90), ("hexagon", 6, 60),
("hexagon, inside angle", 6, 120), ("star", 5, 144)]:
corners, total = walk(sides, 100, turn)
print(f"{name}: turn {turn} x{sides}, total turn {total:.0f}, different corners {corners}")
print("turn for a 9-sided shape:", 360 / 9)We wrote this version without graphics so it runs anywhere and prints what the pen did: the total it turned and how many different corners it visited. In lessons, children use Python's turtle module and watch the drawing appear. Paste it into any Python 3 editor; the output below is exact.
square: turn 90 x4, total turn 360, different corners 4 hexagon: turn 60 x6, total turn 360, different corners 6 hexagon, inside angle: turn 120 x6, total turn 720, different corners 3 star: turn 144 x5, total turn 720, different corners 5 turn for a 9-sided shape: 40.0
The square and hexagon turn 360 degrees in total and visit 4 and 6 corners. The "inside angle" hexagon turns 720 degrees but visits only 3 corners: it traced a triangle twice. The star also turns 720 degrees, going round twice, and visits 5 points. For 9 sides the program works out the turn: 40 degrees.
Loops, by turning four copied lines into one repeat. Variables, by putting the number of sides and the turn in names. Abstraction, by finding one rule, 360 divided by sides, that fits every regular shape. Testing, by trying a value that should break a wrong rule.
And a lesson in trusting evidence: the drawing, not the maths book memory, decides whether the program is right. If turtle drawing misbehaves on your computer at home, our Python turtle troubleshooting page has fixes.
1. What turn draws an octagon? 2. What happens with 6 sides and a turn of 90? Predict before running. 3. Draw a seven-point star; which turn works? 4. Make the program ask for the number of sides and draw any shape.
Answers: 1 is 45 degrees. 2 draws a square with two sides drawn twice (four corners visited). For 3, try turning 360 times 3, divided by 7, about 154.3 degrees, and see what you get.
AI in P4
In P4, Hong Kong's pilot primary AI strand introduces prompts, how machines learn from examples, and spotting AI-made images. The makers of the main chatbots, meanwhile, set minimum ages well above nine.
One suggested activity asks pupils how they know something is an apple, then shows that machine learning also works from examples and features (our English summary of the EDB's Chinese). Another asks them to look at pictures and decide which were made by AI, watching for odd details, mismatched backgrounds and scenes that make no sense.
Both fit coding well. A child who has written a rule for a shape understands the difference between a rule written by a person and one learned from examples.
Neither OpenAI nor Anthropic offers its chatbot in Hong Kong, and their age terms rule nine year olds out anyway: ChatGPT users must be at least 13, with a parent's permission under 18, and Claude users must be 18. Python, Scratch and the child-safe learning tools in our AI course are what nine year olds use with us.
Our AI course for Hong Kong kids covers how machines learn at this age, and the AI tools age guide lists more than a hundred tools by age.
Choosing
Most nine year olds are ready to type, especially if they have used blocks before. Some are better served by one more term in Scratch. The free first class tries both, and the mentor tells you which with reasons.
| If your child | We suggest | Because |
|---|---|---|
| Has done Scratch and types reasonably | Python and AI for Kids | Ready for real syntax and turtle drawing |
| Has never coded | A term of Scratch, then Python | Ideas first, typing second |
| Loves making things look good | Web Development for Kids | Instant visible results in a browser |
| Lives in Roblox | Roblox Game Coding | Typing with a game reward |
| Enjoys contests and puzzles | C++ for Kids, later | A careful start in a contest language |
Our placement guide. Each course's own age range: Python and AI for Kids 9 to 12, Web Development for Kids 9 to 12, Roblox 8 to 14, C++ for Kids 9 to 12, Scratch 6 to 12.
Every Hong Kong class with us is one child and one mentor. At nine, the biggest benefit is debugging: the mentor watches the child read an error message and asks the next good question, instead of fixing it.
It also lets the course follow school. If P4 coding is on loops this month, the mentor can stretch that topic rather than run ahead of it.
Python and HTML are written in English words, and our India-based mentors teach in clear English at the child's pace. There is no Cantonese or Mandarin teaching.
More on that is on coding classes taught in English in Hong Kong.
Progress
Our own milestones for nine year olds moving from blocks to typed code. They guide placement and monthly notes; they are not a school level.
| Milestone | Your child can | You will see |
|---|---|---|
| 1. Type and run | Type a short program and run it | A greeting that uses their name |
| 2. Loop | Turn repeated lines into a for loop | A square from three lines, not eight |
| 3. Name things | Use variables for numbers that change | Sides and angle as names |
| 4. Rule | Find a general rule and code it | 360 divided by sides for any shape |
| 5. Test | Choose values that could break it | 6 sides and 90 degrees tried on purpose |
| 6. Project | Plan and finish a small program | A drawing program that asks questions |
If you copied a line three times, make it a loop.
Believe the drawing, not your memory.
Milestone 4 is where maths and coding meet; praise the rule, not the picture.
Ask your child to predict before they run.
More courses
Live, in English, and one to one for Hong Kong families. Bands follow the courses' own age ranges.
CBX / BLOCK / 01
Games with events and conditions.
Open the syllabusCBX / BLOCK / 02
Phone apps from blocks, like App Inventor.
Open the syllabusCBX / BLOCK / 03
Blocks towards typed code.
Open the syllabusCBX / TYPE / 01
A careful start in a contest language.
Open the syllabusCBX / TYPE / 02
Training and testing simple models.
Open the syllabusCBX / TYPE / 03
Plan in words, build, then check.
Open the syllabusCBX / MATHS / 01
School maths, placed by level.
Open the syllabusCBX / MATHS / 02
Quick, checkable calculation.
Open the syllabusCBX / MATHS / 03
An idea built against the clock.
Open the syllabusTiming and setup
Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. The mentor works in India, where it is 2 hours 30 minutes earlier than in Hong Kong all year round.
After school
3:45 pm in Hong Kong is 1:15 pm in India.
Before dinner
A 5:45 pm class is 3:15 pm for the mentor.
Saturday afternoon
2 pm Hong Kong time is 11:30 am India time.
Typing starts this year; a tablet is not enough.
Installed in the first lesson, or used in a browser.
Useful for planning shapes and turns.
The same person all course long.
What was learned and what comes next.
Move a class when school tests cluster.
Student work
Projects from students in our longer courses; the student labs page shows more.

AI and ML
An AI nutrition coach that reads what you eat and works you toward a target.

AI and ML
A chatbot that answers mathematics and programming questions, built and deployed by a student.

AI and ML
An assistant that helps a young person recognise unsafe situations online.

Web app
A weather forecasting site with live conditions for any location.
Fees
The monthly fee shows in Hong Kong dollars, and you settle one month at a time, never for a whole term in advance. If the payment gateway charges anything extra, it is listed at checkout before you confirm payment.
Free first class
Free
no card required
One to one
$1,200 HKD
a month, eight live classes
What families say
Reviews from parents and students on Google, reproduced word for word.
★★★★★
"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."
Ria Mukherjee
Parent
★★★★★
"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."
Samriddha Mondal
Student
★★★★★
"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."
Vansh Agarwal
Student
★★★★★
"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."
Sonam Oswal
Parent of Dhairya
★★★★★
"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."
Sonu Goyal
Parent
★★★★★
"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."
Ritu Kedia
Parent
Parents of nine year olds ask
Yes, one of the best. Most nine year olds read and type well enough for real Python, and in Hong Kong P4 is when the EDB school coding module begins, so the ideas are fresh.
Publicly funded schools are asked to give 10 to 14 hours of coding a year from P4, through the EDB module issued with EDBCM 109/2023. It covers abstraction, algorithm and automation, usually with block tools.
Python, if they have used blocks before and type reasonably. Otherwise a term of Scratch first. Our Python and AI for Kids course starts at nine.
Yes, through school. HKPSOI is open to P4 to P6 pupils at primary schools that apply. The 2026/27 heat runs from 7 to 18 December 2026 and the final is on 20 February 2027. It uses Blockly.
No. Any laptop or desktop with a keyboard, a camera and a microphone. Python is free and light, and Scratch runs in a browser.
No. OpenAI does not offer ChatGPT in Hong Kong, and its minimum age is 13, with a parent's permission under 18; Claude is not offered here either and its minimum is 18. We teach nine year olds to write and test their own code.
Yes. Every Hong Kong class is one child with one mentor, live on video.
English. Our mentors are based in India and speak clearly at the child's pace. We do not teach in Cantonese or Mandarin.
Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. A 4:30 pm class in Hong Kong is 2 pm in India.
Monthly, in Hong Kong dollars, one month at a time, with no lump sum. Any payment-gateway charge appears before you pay. The first class is free.
Related
Where parents of nine year olds go next.
All our courses, by age.
The language most nine year olds type first.
The same age, beyond Hong Kong.
How machines learn, at this age.
A year ahead.
What sets the price.
Part of the guide: Every Hong Kong page
More guides: Coding and AI classes in Hong Kong · 中文:英文授課編程課程 · Start here: Online coding for kids · AI, vibe coding and AI agents: AI agents course · Coding subjects and courses: App development · HKDSE ICT and maths: DSE ICT elective guide · IB, IGCSE, A-level and SAT: A level Computer Science tutor · Olympiads and competitions: AMC 10 preparation · Guides for families: After-school coding · School holidays: AI summer course · Districts and areas: Causeway Bay
Start here
Your child types a short program, draws a shape, and tries to make it go wrong. You can watch. Afterwards the mentor explains whether Python now or one more term of blocks is the better start.
Read first? The Python and AI for Kids page has the full outline, week by week.
WhatsApp us · +91 91233 66161 · connect@modernagecoders.com
Live online in English, with one mentor for one child; mentors are based in India. WhatsApp is the fastest route to us.
A priority demo is a full class of about 45 to 60 minutes. After the class the mentor sends a written skill report and a personal learning roadmap on WhatsApp. If you enrol, the demo fee is adjusted against your first month's fee. Share your demo Order ID with us on WhatsApp and we take it off.
Book a priority demo