umber" id="num1" placeholder="1st number" />
          <input type="number" id="num2" placeholder="2nd number" />
          <input type="submit" value="Calculate" />
        </div>

        <div id="operationMenu"></div>
      </form>
    </main>

    <script>
      function calculate() {
        event.preventDefault();
        event.stopPropagation();

        let continueAgain = false;
        loop: do {
          let num1 = document.getElementById("num1").value;
          let num2 = docu