Start with a simple HTML template called with 'theirname.html'.
Add a JS loader: <script src="theirname.js"></script>. Load that page in browser; bookmark it. (Easy access!)
Now whatever they edit into theirname.js will 'run'
when they reload the page. e.g. alert('Hello World!')
When they're ready to add an image, time to learn a little HTML ;-O
Comments
Indeed, the plain HTML plus JavaScript have been the best option for a kid to get a taste of programming ever since they became available.
I find Python to be more useful in general (should be taught in high school to everyone, in my opinion), but it is just less fun for a kid.
Start with a simple HTML template called with 'theirname.html'. Add a JS loader: <script src="theirname.js"></script>. Load that page in browser; bookmark it. (Easy access!) Now whatever they edit into theirname.js will 'run' when they reload the page. e.g. alert('Hello World!') When they're ready to add an image, time to learn a little HTML ;-O
A little interactivity helps to keep the kid engaged. It is amazing to see how much fun emulating a simple desk calculator in HTML can be.