Congratulations!

Today, you learned how to directly call functions in JavaScript, as well as how to register functions to handle mouse click events. Now you can build different blocks at the mouse location just by a simple mouse clicks.

Get your certificate for completing one Hour of Code.

Share your accomplishment with your friends:



If you'd like to try some fun stuff for inspiration, check out the next chapter.

If you'd like to keep learning about how to define a function and design to build your own structures, please go to our website for the comprehensive learning program: CodeCraft - Build to Learn JavaScript

Please like our Facebook Page and send your feedback!

results matching ""

    No results matching ""