title: how to add a click handler without using jQuery
body: <p>I would like to add a basic click handler to an element using ID. Normally I would use jQuery, but I have forgotten how to do it in vanilla js.</p>
  
  <p>What is the best way to do this, without using jQuery:</p>
  
  <pre><code>$("#myBasic").click(function(){
    alert(“testString”);
  });
  </code></pre>