When Andrés, my oldest son, was 9, we were watching a video about Logo, the programming language. He got especially excited with Turtle Graphics, where you have a "pen" on screen that you can draw with using commands to move it.
That night I started a project using p5.js and my limited programming skills to do just that, drawing with commands, replacing my missing knowledge with unnecessary overcomplication and spaghetti code. But hey! It worked!