Front-end Web Development

Assignment for Week 11

  1. Download this zip with an HTML and CSS file.
  2. Include a <script> reference in the HTML file to the latest version of jQuery (available at the Using jQuery with a CDN section).
  3. Create a JS file of your own and include a <script> reference to it in the HTML file.
  4. In the JS file, add behavior that makes it so clicking the a element does not take you to
  5. In addition, make it so the number inside the a element increments by 1 when clicked.
  6. Furthermore, make the a element change its class attribute when clicked. If the class is zero, change it to one. If one, then two. If two, then three, and then back to zero again.