I would like to know how to display only one div at a time using toggle in jQuery but I dont know how to do that. This is my code at the moment. I'm new to coding so I would appreciate the help.
$(document).ready(function() {
$('#SignInButton').on('click', function() {
$('#SignInContainer').toggle();
});
});
$(document).ready(function() {
$('#HomeButton').on('click', function() {
$('#HomeContainer').toggle();
});
});
$(document).ready(function() {
$('#ContactButton').on('click', function() {
$('#FAQ').toggle();
});
});