HI Everyone,
I have a gallery to display a set of questions.
I also have 'Previous' and 'Next' buttons to navigate through these questions.
My goal is to divide the questions into groups of four and use the 'Next' button to display the subsequent set of questions. Similarly, the 'Previous' button should take the user back to the previous set.

I want to divide the set of questions into 4 and on click of next button I want to show the next set of questions
(Please Not the data is stored in a way where we can't use form ,only gallery is possible Form is i my scenario)
Could anyone provide a solution or guide me on how to implement this functionality?
Thank you for your assistance!