Child development blog

Coding in Spain’s early years curriculum

2 min read

Many people are surprised to hear it, but Spain’s curriculum for children aged 3 to 6 already asks for early coding. Since Royal Decree 95/2022 set the minimum teaching for early childhood education, computational thinking has been part of what every school is expected to cover.

What the decree says

The decree groups learning into three areas. The second, “Discovering and exploring the environment”, has a specific competence about developing, step by step, the methods of science and the skills of computational thinking.

For children aged 3 to 6, assessment criterion 2.5 is the clearest: children should program sequences of actions or instructions to solve analogue and digital tasks, building basic computational thinking skills.

Sequences also appear in the first area, “Growing in harmony”. Among its basic knowledge are routines, described as planning actions in order to complete a task.

Analogue counts

The decree says “analogue and digital”. It does not ask for screens, tablets or computers. A sequence of instructions can be a row of arrow cards, a path across a floor map, or the steps of washing your hands.

That matters for the youngest children. At 3, children learn with their bodies and hands, and they understand an instruction best when they can see it, hold it and watch what it does.

What it looks like with 3-year-olds

Criterion 2.5 can sound abstract. In a class of 3-year-olds it looks like this:

  • Following a short sequence of instructions, one step at a time.
  • Saying what will happen before trying it: “Where will Ed end up?”
  • Noticing that a step went wrong, finding it and fixing it.
  • Giving instructions to someone else and watching them carried out.

In WonderEd lessons, the whole class works on one activity at a time with a floor map and arrow cards. The pink and green cards turn on the spot, and the blue card moves one square forward.

Support from the Ministry

The Ministry of Education is also backing this work through its Code School 4.0 programme, which brings computational thinking and programming into classrooms from early childhood education to secondary school. In 2023, €298.4 million was shared out among the regions for programming and robotics equipment and for supporting teachers in state-funded schools, including those teaching children aged 3 to 6.

Questions to ask about any coding programme

  • Does it clearly cover criterion 2.5 and the computational thinking competence?
  • Can it be taught without screens?
  • Does it work with the whole class, not only small groups?
  • Are the activities short enough for the attention span of 3-year-olds?

Sources