How to while loop the div class in html [closed]

<div class="box">
    <div class="convv">
        <form action="" method="GET" class="hidden">
            <select data-conv-question="press one of them" name="category">
                <option value="button1">button1</option>
                <option value="button2">button2</option>
                <option value="button3">button3</option>
                <option value="button4">button4</option>
            </select>
        </form>
    </div>
</div>

My code is up there and my question is simple i just want to do this in a while loop. But i can fully understand the syntax of js for this problem.