title: How to add jQuery to an HTML page?
body: <p>I was given this chunk of code to place in my html page but I know nothing about javascript so I have no idea where to place it and what kind of tag to place it in.</p>
  
  <pre><code>$('input[type=radio]').change(function() {
  
  $('input[type=radio]').each(function(index) {
    $(this).closest('tr').removeClass('selected');
  });
  
  $(this).closest('tr').addClass('selected');
  });
  </code></pre>