I found Scratch Jr. [1] and Alice 3D [2] great tools for teaching programming. I found Alice 3D more appealing for kids that the full Scratch online. Scratch Jr. for a 7 year old kid is a good way to start. A typical 9 year old is more capable of general programming (thinking in a straigthforward syntax like in Python).
For younger kids I only recommend Scratch Jr. since it is natural, has less friction, and doesn't require reading.
I am also a fan of hour of code ( https://code.org/learn), it uses popular games and Disney characters and typically no project takes more than an hour.
For younger kids I only recommend Scratch Jr. since it is natural, has less friction, and doesn't require reading.
[1] https://www.scratchjr.org/
[2] https://www.alice.org/