Just dipping my toes into the world of web development. I'm intrigued by the idea of creating a "slider menu" where users can view and select options by clicking on next or previous buttons (see example image below). While I've got some basic HTML down, I'm struggling with how to implement this using JavaScript. Any guidance or assistance would be greatly 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>