title: Adding class using JS on a click of an anchor tag
body: <pre><code>&lt;p id="testhome-1"&gt;Test&lt;/p&gt;
  &lt;p id="testhome-2"&gt;Test&lt;/p&gt;
  
  &lt;a href="#testhome-1"&gt;Click&lt;/a&gt;
  &lt;a href="#testhome-2"&gt;Click&lt;/a&gt;
  </code></pre>
  
  <p>When I click the anchor tag, I want to add a class to a particular id of Paragraph.</p>