Hack this page: clearer code for Hexo's tricks
· version v17.002
In Hack this page on the home page, Hexo's tricks now show clear class names in the code panel, like giant, tiny, spin and jump.
Hack this page on the home page lets kids change the page with blocks and see the real code they are writing. When you made Hexo giant, tiny, upside down, spinning or jumping, the code panel showed short, unclear class names.
Now the code reads exactly like the trick you picked, for example:
hexo.classList.add("giant");
The other tricks show "tiny", "upside-down", "spin" and "jump". It is a small change, but when kids read code it should say what it does. That is the first habit of a good programmer.
Try HexoQuest
The first 3 levels are free. Teachers and parents get a 30-day free trial.