Accordion (Vanilla JS)

Accordion menu of icon headings that each reveal a list of links, with one section open at a time.

Asked in frontend interviews at Amazon and LinkedIn