alert("Thanks for visiting the documentation!");
Obviously, this is binding an event handler to an object. But *what* object is it being bound to? There's nothing in the example with an ID of "a", so is it being bound to all "a" tags? If so, is that really the behavior we want? If not, how do we write the code to actually apply specifically to the documentation link?
Keep Up with TechRepublic