How to create jquery accordion out of this code : i am having problem to enable accordion on this code structure.

I have tried the following code but it is not working.

			<li><?php echo get_field('faq_question_1');?> <span class="readLinkTag"><a class="click_acc" href="#">READ MORE <i class="fa fa-chevron-circle-down"></i></a></span></li>
				<div class="abc"><?php echo get_field('faq_question_1_content');?></div>

			var allPanels = $('.abc').hide();

				
			  $('.click_acc').click(function() {
				  //alert("thanks");
				allPanels.slideUp();
				$(this).parent().next().slideDown();
				return false;
			  });