Skip to content

Instantly share code, notes, and snippets.

@Takerrim
Created July 22, 2018 07:02
Show Gist options
  • Save Takerrim/e064552f1ada51ed54e148ec5722c0b6 to your computer and use it in GitHub Desktop.
Save Takerrim/e064552f1ada51ed54e148ec5722c0b6 to your computer and use it in GitHub Desktop.
Accordion jQuery
$('.header').click(function(){
$(this).toggleClass('active');
$(this).next().slideToggle();
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment