events/basics: fix create button DOM element example

Closes gh-587