text: function calc() {
      const num1 = Number(document.getElementById('num1').value);
      const num2 = Number(document.getElementById('num2').value);
      let result = document.getElementById('sum');
      result.value = num1 + num2;
  }
  