Having trouble setting up a FAQs page on my blog and can't seem to get the code right. Check out what I'm trying to do here: http://jsfiddle.net/qwL33/
Everything seems fine but when I click on the first question, both questions open up. Can someone assist me with this issue?
Here is the code snippet:
$('#slidetoggle')
.on('click', function(e) {
jQuery('.slider').toggle('slideDown');
});
<div id="slidetoggle">HELLO 1</div>
<div class="slider" style="display: none">Hello there!</div>
<div id="slidetoggle">HELLO 2</div>
<div class="slider" style="display: none">Hello there!</div>