CPSC415A
Web Programming

Assignment 21

jQuery

Create a web page that uses jQuery to create an accordian. An accordian contains multiple sections consisting of a header followed by a div containing some content. All headers are always displayed, but only one div is visible at a time. To change which div is visible the user clicks on the corresponding header. Your accordian:

  1. should have two sections
  2. initially show the first section and hide the second
  3. use an animation when a div is hidden or revealed

Submission

Submit your code on the course Inquire site.