Currently, I have code for two sets of buttons. How can we add functionality for next and previous buttons?
<div id="chart-section-wrapper" class="container">
<div id="chart-section">
<div class="overall-btns col my-3">
<!-- Buttons -->
<!-- set-1 -->
<button class="selector-button" name="button-default-1">
<i class="icon bi bi-droplet-half"></i><span>Albanian</span>
</button>
<button class="selector-button" name="button-default-2">
<i class="icon bi bi-droplet-half"></i><span>Arabic</span>
</button>
<button class="selector-button" name="button-default-3">
<i class="icon bi bi-droplet-half"></i><span>Armenian</span>
</button>
<!-- set-2 -->
<button class="selector-button" name="button-default-4">
<i class="icon bi bi-droplet-half"></i><span>Azerbaijani</span>
</button>
<button class="selector-button" name="button-default-4">
<i class="icon bi bi-droplet-half"></i><span>Azerbaijani</span>
</button>
<button class="selector-button" name="button-default-4">
<i class="icon bi bi-droplet-half"></i><span>Azerbaijani</span>
</button>
<!-- Next and Previous buttons -->
<div class="next-button-parent text-right mb-3 col-3">
<button class="next-button" id="next-button">Next </button>
</div>
<div class="next-button-parent text-right mb-3 col-3">
<button class="next-button" id="next-button">Prev </button>
</div>
</div>
</div>
How can I implement a functionality where clicking on the next button will display set-2 buttons, and clicking on the previous button will display set-1 buttons?