Book: JavaScript Novice to Ninja
Chapter: 7 - Events
Anybody else having problems to get the event listener to work correctly in this chapter? I also reviewed the “correct” code on Github but I just can’t get the button to perform the click function as it is supposed to. The layout does not even look like it is supposed to as per the example in the book with the original code on Github: