Something you will very often see on web pages is sections that open and close. They may be menu items or sections of content.
In this project, we’ll toggle both content and lists. The technique is similar, which is a matter of having JavaScript change the state of a selected element. For the rest, we will allow CSS to do the job of showing and hiding content, as well as adding a little animation for good measure.