I think it would be better to teach kids to code. I would start with a project that makes sense to them, probably a simple game or animation. Learning the code, syntax, etc.. would be boring IMO but getting hands on might make them appreciate it and potentially become hooked.