New to web dev here. I'm interested in creating a "slider menu" of some sort where users to be able to view and select from one of the options by clicking on the next or previous buttons (example pic attached). I have written some basic html but I'm not entirely sure how to implement this with javascript. Any help would be appreciated
<div class = navigationButtons>
<button class = "prev"> < </button>
</div>
<div class = "select options">
<div class="o1">
<button> option1 </button>
</<div >
<div class="o2">
<button> option2 </button>
</<div >
<div class="o3">
<button> option3 </button>
</div>
<div class="o4">
<button> option4 </button>
</div>
</div>
<div class = navigationButtons>
<button class = "next"> > </button>
</div>