Am Using This JavaScript to Show and Hide Sections. When i click to one class it have to show another section. But the issue is when i click one class section all other classes are automatically hiding. How to fix this
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
var $ = jQuery
$(document).ready(function(){
$('[data-showme]').click( function(){
event.preventDefault();
var showme = $(this).attr('data-showme')
$('.menu-content' '.all-content' ).hide()
$('.' + showme).show()
})
})
</script>