WAS / YOUNG / 01
Coding for Kids with Blocks
From first blocks to small games and apps.
Open the syllabusHong Kong · Guide · Ages 3 to 16
There is no single right birthday. A four-year-old can learn that order matters by arranging picture cards, a seven-year-old can snap blocks together, and most children can write real typed code once reading and typing stop being a struggle. This guide sets those stages against the Hong Kong school years, from K1 to S6, so you can see what school will cover, what it leaves to families, and where a few lessons at home would actually help.
Teaching since 2020 · 10,000+ students worldwide · Hong Kong lessons from age 6, one to one, live online in English
The short answer
Most children can start coding at 5 to 7 with picture blocks (ScratchJr is built for ages 5 to 7), move to Scratch at about 8, and to typed Python when reading and typing are easy, often 9 to 11. Hong Kong schools add formal coding at P4. Before five, play matters more than screens. Modern Age Coders teaches children from 6, live online, one to one, in English, at times that suit Hong Kong families.
Where to begin
Three first courses, one for each stage of the guide below. A mentor checks the level in the free first class and can move a child up or down.

WAS / 01
The block stage: characters, events and loops, with a small game finished most weeks. Reading a few words on a block is enough.
Open the syllabus →
WAS / 02
The first typed language, for children who type without hunting for keys: turtle drawings, quizzes and small games.
Open the syllabus →
WAS / 03
For a late starter or a returning one: the whole language at a teenager's pace, with the logic secondary exams test.
Open the syllabus →The answer by stage
Think in stages, not birthdays. Each stage below lines up with Hong Kong school years and with what the main tools say about their own age range.
| Age | School year | What fits | What school offers |
|---|---|---|---|
| 3 to 5 | K1 to K3 | Play: sorting, sequencing, giving and following directions; no lessons needed | Kindergarten play; no coding subject |
| 5 to 7 | K3 to P2 | Picture blocks (ScratchJr is made for ages 5 to 7); short sessions with an adult | Varies by school; nothing required |
| 8 to 10 | P3 to P5 | Scratch (designed mainly for 8 to 16); games, stories, loops and events | Formal coding begins at P4 in most schools |
| 9 to 12 | P4 to P6 | First typed language, usually Python, once typing is comfortable | 10 to 14 hours of coding a year at each of P4, P5 and P6 |
| 12 to 15 | S1 to S3 | Python in depth; C++ for contest-minded students; how AI works | 10 to 14 hours of AI learning across junior secondary |
| 15 to 18 | S4 to S6 | Exam languages (Python, C++), projects, or a fresh start | DSE ICT for those who choose it as an elective |
Sources: EDB, Hong Kong Education at a Glance (kindergarten ages); EDB circular EDBCM 109/2023 (coding hours at upper primary and AI hours at junior secondary); ScratchJr, About page; Scratch Team, information for parents. The “What fits” column is our own teaching view, not an official standard. All read 23 November 2026.
Two eight-year-olds can be years apart in reading, patience and fine motor control. A child who reads English comfortably can use Scratch blocks at seven; a child still decoding words may need picture blocks a little longer. Neither is behind.
The useful question is which stage your child is at now. The readiness signs further down this page help you decide without a test.
From picture blocks to Scratch: reading short labels like “repeat” or “when clicked” without help.
From Scratch to Python: typing a line without searching for every key, and caring about exact spelling. A child who finds a missing bracket frustrating but fixable is ready; one who finds it upsetting may need a few more months of blocks.
What school teaches
At upper primary. The Education Bureau asks publicly funded schools for 10 to 14 hours of coding at each of P4, P5 and P6, then 10 to 14 hours of AI learning at junior secondary. Before P4, any coding is up to the school.
| Stage | What EDB documents say | Source |
|---|---|---|
| Kindergarten | “Kindergarten education in Hong Kong is for children from three to six years old.” | EDB, Education at a Glance |
| Primary One, September 2027 | A child must reach 5 years 8 months on entry (born on or before 31 December 2021) | EDB, P1 admission information note |
| School by law | “Parents are required by law to send their children aged six or above to school.” | EDB, P1 admission information note |
| P1 to P3 | Everyday activities that build the ideas, to prepare for coding “at a later stage” | CDC coding supplement, 2020 |
| P4 to P6 | “10 to 14 hours of enriched coding education for all upper primary students at each level every year” | EDBCM 109/2023 |
| S1 to S3 | 10 to 14 hours of AI learning at junior secondary, in Technology Education | EDBCM 109/2023 |
| S4 to S6 | ICT is an elective; its programming languages are Python and C++ | EDB, ICT Curriculum and Assessment Guide |
Sources: EDB, Hong Kong Education at a Glance; EDB, Primary One Admission information note for September 2027; Curriculum Development Council, Computational Thinking: Coding Education, Supplement to the Primary Curriculum (2020); EDB circular memorandum 109/2023 (19 June 2023); EDB, ICT Curriculum and Assessment Guide (S4 to 6), 2021. Read 23 November 2026.
The supplement suggests one lesson a week of 35 or 40 minutes at each upper primary level, or a block of double lessons in one term. Across a year that is 10 to 14 hours: enough to meet sequence, loops, conditions and a little hardware, not enough to become fluent.
The Jockey Club's CoolThink programme, whose materials EDB adapted, describes its own offer as “14+ hours of computational thinking and coding education in formal ICT lessons annually to P4-6 students”.
Plainly, that the aim at upper primary “is not to train and nurture computer programmers”: it is hands-on problem solving. That is a sensible aim for school, and a useful reminder at home that an eight-year-old does not need a career plan.
For lower primary, it points to everyday life: “Most regulations in the games, sports and music activities have already involved the concepts of sequence and condition in computational thinking.”
A new primary curriculum framework for information technology is being introduced from the 2026/27 school year, with a pilot AI strand that schools may trial; the year-by-year detail for every school has not been fixed in the EDB documents we read. For a full picture of what Hong Kong children learn about AI, see our AI course for kids in Hong Kong page.
Very young children
Not for the ideas; often yes for screens and formal lessons. A five-year-old can learn sequence and repetition through games and picture blocks. A weekly screen lesson is rarely the right way to do it.
EDB's Kindergarten Education Curriculum Guide (2017) puts play first: “Play is an effective way of learning that best suits the developmental characteristics of children.” On technology it is careful: “IT cannot take the place of learning activities or play”.
That matches what we see. The thinking behind coding (do this, then this; repeat; if this, then that) grows well in board games, songs with repeated verses, cooking with a recipe and treasure hunts with written clues.
ScratchJr, from the team behind Scratch, describes itself as a language that “enables young children (ages 5-7) to create their own interactive stories and games”. It uses picture blocks, so a child does not need to read.
Scratch itself is pitched older. Its parents' page says: “While Scratch is primarily designed for 8 to 16 year olds, it is also used by people of all ages, including younger children with their parents.” Note the last four words: young children use it most safely with an adult beside them.
Sources: EDB, Kindergarten Education Curriculum Guide (2017); ScratchJr, About page; Scratch Team, information for parents. Read 23 November 2026. The numbered steps are our own advice.
Blocks or typing
When typing is no longer the hard part. Python itself is not harder to think in than Scratch; what changes is that every bracket, colon and capital letter matters. Children who type easily usually cope from about 9 to 11.
| Sign | Ready | Not yet |
|---|---|---|
| Typing | Types a short sentence without looking for each key | Hunts for most letters |
| Reading errors | Reads a short English message and acts on it | Ignores or fears red text |
| Scratch habits | Uses variables and repeat-until loops unprompted | Mostly uses motion blocks |
| Patience with detail | Checks spelling when something fails | Wants it to work without checking |
| Own ideas | Asks for things blocks cannot easily do | Still finding new blocks |
Our own checklist from teaching children one to one. Three or more signs in the “Ready” column usually means Python will feel like progress rather than punishment.
Some six-year-olds can copy typed code. Few can fix it when one character is wrong, and fixing is where the learning happens. Blocks remove spelling errors, so a young child spends lesson time on the idea, not the keyboard.
Scratch is free and runs in a browser. There is nothing to lose by starting there; we look at the pros and cons in more depth on our Scratch classes for kids page.
Blocks hide the text that real programs are made of. Hong Kong's secondary exams and contests use text languages: the HKDSE ICT guide lists Python and C++, and the primary informatics contest (HKPSOI) uses Blockly precisely because it is “suitable to primary students”.
A child who has outgrown blocks shows it by asking for things blocks make awkward: saving scores, reading a file, longer programs. That is the moment, whatever the age.
One task, three ages
The same small problem, solved the way a child at each stage would meet it: first as steps to act out, then as a loop that knows when to stop, then as a rule checked against the loop. The idea grows; the problem does not change.
# One small task written three ways, for three stages. Our own example.
# A frog hops 3 stones at a time along stones 0 to 20. Where does it land?
# Stage 1 (about 5 to 7): steps a child could act out on the floor
steps = ["hop", "hop", "hop", "hop", "hop", "hop"]
stone = 0
for step in steps:
stone = stone + 3
print("Stage 1, six hops acted out, frog ends on stone", stone)
# Stage 2 (about 8 to 11): a loop with a stop rule
landed = []
stone = 0
while stone <= 20:
landed.append(stone)
stone = stone + 3
print("Stage 2, loop until past 20:", landed)
# Stage 3 (about 12 and up): a rule, tested against the loop
def lands_on(n, hop=3):
return n % hop == 0
by_rule = [n for n in range(21) if lands_on(n)]
print("Stage 3, remainder rule: ", by_rule)
print("Lands on 20?", lands_on(20), "| lands on 18?", lands_on(18))
print("Loop and rule agree:", by_rule == landed)Our own example, written for this page. A six-year-old does stage 1 on the floor or with picture blocks, not in Python; we show all three stages as Python so you can run them side by side. The output panel shows what Python 3 printed when we ran it.
Stage 1, six hops acted out, frog ends on stone 18 Stage 2, loop until past 20: [0, 3, 6, 9, 12, 15, 18] Stage 3, remainder rule: [0, 3, 6, 9, 12, 15, 18] Lands on 20? False | lands on 18? True Loop and rule agree: True
Stage 1 counts hops one by one and ends on 18. Stage 2 lists every landing stone and stops itself before passing 20. Stage 3 finds a rule (a stone is a landing stone if dividing by 3 leaves no remainder) and checks that the rule gives exactly the same list as the loop.
The child hops and counts aloud. The lesson is that six identical steps can be described as “hop, six times”. That is the first idea of a loop, met with the body before a screen.
The loop must stop on its own. Children at this stage meet their first endless loop and learn why the stop rule matters. In Scratch this is the repeat-until block.
The teenager spots that landing stones are multiples of three, writes it as a remainder rule, and proves the rule right by comparing it with the slow method. That habit (check a clever answer against a simple one) lasts a lifetime.
Starting later
No. Older beginners move faster, because reading, typing and abstract thinking are already in place. A motivated fourteen-year-old can often cover in months what takes a younger child a couple of years.
Hong Kong's informatics olympiad is a secondary-school event: its rules say “The competition is open strictly to registered day secondary schools in Hong Kong”. A child who starts typed code at 12 has time to prepare for it; our HKOI Junior Group page explains who may enter.
Primary pupils have their own contest, HKPSOI, which uses Blockly blocks; it is a pleasant goal, not a requirement.
HKDSE ICT is chosen in senior secondary and taught from S4. A student who starts Python at 14 or 15 reaches it with the basics in place. If that is your child, our page on DSE ICT programming in Python shows what the exam expects.
Adults start too. The youngest learner we teach is six; the oldest have been in their sixties.
AI and age
Ideas about AI can come early; AI tools come later, because their makers set minimum ages. Hong Kong schools add an AI module at junior secondary.
| Tool | Minimum age in its terms | Offered in Hong Kong by its maker? |
|---|---|---|
| ChatGPT (OpenAI) | 13, and a parent's or guardian's permission under 18 | No: Hong Kong is not on OpenAI's list of supported countries and territories |
| Claude (Anthropic) | 18, or higher where local law requires | No: Hong Kong is not on Anthropic's list of supported regions |
Sources: our AI tool age audit, which quotes each vendor's own terms (see the full AI tools age guide); OpenAI Help Center, supported countries and territories; Anthropic, Supported Regions Policy; both lists read 23 November 2026. School AI hours: EDB circular memorandum 109/2023.
We name these two only so parents know where they stand; we do not use them in Hong Kong lessons, and we never suggest ways around a maker's country list. Children can learn how AI works without any chatbot: that it learns from examples, that it can be confidently wrong, and that a person must check it. Where a tool is used, it is one offered in Hong Kong or provided by the learner's school. Our guide to thinking with AI instead of copying it explains the approach for older children.
Readiness signs
Five signs we look for in a free first class. None needs a test, and a child who shows two or three is usually ready to begin.
Wait three to six months and keep playing the games above. Starting later costs nothing; starting too early can make a child decide coding is “not for me”.
For a wider, non-Hong Kong view of the same question, see our article on the age to start coding and our coding milestones by age.
The mentor plays a short sequencing game, then a block task, then (for older children) a few lines of typed code. Within the class it is usually clear which stage fits.
You get a plain recommendation afterwards, including “wait a few months” if that is the honest answer.
Practical details
For most children who use English at school or at home, yes, and the coding words are English anyway. Lessons are live and one to one, so the mentor slows down whenever needed.
| Hong Kong time | India time | Often suits |
|---|---|---|
| 4:30 pm, weekday | 2:00 pm | After school, before homework |
| 6:00 pm, weekday | 3:30 pm | After an activity, before dinner |
| 10:00 am, Saturday | 7:30 am | A fresh weekend morning |
Hong Kong is on UTC+8 and India on UTC+5:30 all year; neither uses summer time, so Hong Kong is always 2 hours 30 minutes ahead. The rows are our own conversions, given as examples.
A six-year-old cannot be taught well in a crowd on a screen. In Hong Kong we only teach one to one, so the mentor sees at once when attention drifts and changes the activity. See how a lesson runs on our online coding classes for kids in Hong Kong page.
Every lesson is in English, with new words typed into the chat. We do not teach in Cantonese or Mandarin. Many Hong Kong parents value the daily English practice; more on that in coding classes taught in English.
A path by age
Our own sketch of a path for a child who starts at 6 and keeps going. Children move faster or slower; the order matters more than the ages.
| Around age | Working on | A typical project |
|---|---|---|
| 6 to 7 | Sequence and repetition with blocks | A character that walks, jumps and says hello |
| 8 to 9 | Events, loops and variables in Scratch | A catch game with a score |
| 9 to 10 | Lists and conditions; first typed lines | A times-table quiz in Python |
| 10 to 12 | Functions and files in Python | A word game that saves high scores |
| 12 to 14 | Algorithms; how AI learns from data | A simple classifier trained on their own examples |
| 14 to 15 | Exam or contest languages | Practice tasks for HKOI or DSE ICT |
Finish small things. A tiny game that works beats a big one that does not.
Show someone at home what you made each week.
Ask what broke this week and how it was fixed. That question teaches more than praise.
Pause if the fun stops. A month off is not a failure.
More courses
All live online and in English; in Hong Kong every one is taught one to one.
WAS / YOUNG / 01
From first blocks to small games and apps.
Open the syllabusWAS / YOUNG / 02
Loops and logic in a world they already love.
Open the syllabusWAS / YOUNG / 03
Describe a game, build it, then test it properly.
Open the syllabusWAS / OLDER / 01
Typed Luau inside a game they play.
Open the syllabusWAS / OLDER / 02
How AI learns, and when not to trust it.
Open the syllabusWAS / OLDER / 03
Number patterns and puzzles in Python.
Open the syllabusWAS / TEEN / 01
The main language of informatics contests.
Open the syllabusWAS / TEEN / 02
Models in Python, within tool age rules.
Open the syllabusWAS / TEEN / 03
Algorithms against the clock, step by step.
Open the syllabusHow lessons run
Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. Younger children get shorter activities inside each lesson; the mentor teaches live from India, two and a half hours behind Hong Kong.
After school
Hong Kong 4:30 pm is 2 pm for the mentor.
Early evening
Hong Kong 6 pm matches 3:30 pm in India.
Weekend mornings
Saturday 10 am Hong Kong is 7:30 am in India.
Short bursts for six-year-olds, longer builds for teenagers.
For the youngest, an adult close by in the first weeks.
The mentor picks the tool that fits the stage.
Slow, clear speech, with new words written in the chat.
Every game and program stays with the child.
From blocks to Python when the signs are there.
Student work
Projects from learners who started at different ages. More are in the student labs.

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 fee is the same whatever your child's age: a monthly amount in Hong Kong dollars, paid a month at a time, never as a term or package in advance. Card and wallet payments carry a gateway charge, which appears on the payment screen before you confirm.
Free first class
Free
no card required
One to one
$1,200 HKD
a month, eight live classes
What families say
What parents of younger and older learners have written about us on Google.
★★★★★
"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
Questions parents ask
There is no single age. Most children can use picture blocks at 5 to 7, Scratch from about 8, and typed Python once reading and typing are easy, often 9 to 11. Readiness signs matter more than the birthday.
The ideas, yes, mostly through play: sequencing games, directions, patterns. ScratchJr is designed for ages 5 to 7. We start one-to-one lessons at 6, and for five-year-olds we usually suggest play at home first.
Formally at upper primary. EDB asks publicly funded schools for 10 to 14 hours of coding at each of P4, P5 and P6, and 10 to 14 hours of AI learning at junior secondary. Earlier coding depends on the school.
Scratch first for most children under 9 or 10, because blocks remove spelling errors and let the child focus on the idea. Move to Python when typing is comfortable and the child wants to build things blocks make awkward.
No. Older beginners usually move faster, because reading, typing and abstract thinking are in place. Hong Kong's HKOI is a secondary-school contest and DSE ICT is taught from S4, so there is plenty of time.
OpenAI does not list Hong Kong among its supported countries and territories, and its terms set 13 as the minimum age with a parent's permission under 18. We do not use it in Hong Kong lessons; we teach how AI works with tools offered in Hong Kong or provided by the child's school.
Each lesson is a normal length, but for younger children the mentor splits it into short activities of a few minutes each, with movement and talk between them. A parent nearby helps in the first weeks.
Not for block coding: understanding spoken English well enough to follow a game is enough. For typed code, reading short error messages helps, and the lessons build that steadily.
Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. A 4:30 pm lesson in Hong Kong is 2 pm in India, where the mentor is.
Book the free first class. The mentor tries a short game, a block task and, for older children, some typed code, then tells you which stage fits, including if waiting a few months would be better.
Related
Pages for the questions that usually follow this one.
Every course we offer Hong Kong families, by age.
How a live one-to-one lesson runs from home.
What children can learn about AI, and when.
A year-by-year view, not tied to one country.
Each tool's minimum age, from its own terms.
Two ways to try a first class.
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 · By age and school level: Adults · 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 · School holidays: AI summer course · Districts and areas: Causeway Bay
Start here
The free first class doubles as a readiness check: a game, a block task and, for older children, a few typed lines. You leave with a clear stage and course, or a suggestion to wait.
Prefer to read first? Browse the course list or how we teach.
WhatsApp us · +91 91233 66161 · connect@modernagecoders.com
Lessons are live online, one to one, in English, with mentors based in India. Questions about age are welcome on WhatsApp.
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