Frage im Vorstellungsgespräch bei Getty Images

How would you create an accordion-style nav menu using css and javascript without using jQuery.

Antwort im Vorstellungsgespräch

Anonym

11. Mai 2012

I got the css portion of this question wrong. I said I would attach a function to the onclick event of the nav header, find the content element to hide by id and set the content element's visibility to hidden. It should have been set its display to none.