There is no better way to learn robotics and coding than building and programming your own humanoid robots. Bolide 2.0 is an awesome robot for kids with 18 degrees of freedom. It comes with an accelerometer, IR sensor, speakers, LED eyes, and everything you need to get started.
The robot is not only easy to assemble, it can be turned into a six-legged crawler with additional components. You can use a 3D printer to create your own unique Bolide robot. It can be programmed using a visual programming interface. More info is available here.