index.html 970 B

12345678910111213141516171819202122232425262728293031323334
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>Document</title>
  8. <link rel="stylesheet" href="style.css">
  9. </head>
  10. <body>
  11. <div>
  12. <input type="number" id="val">
  13. <select name="calcFn" id="calcFn">
  14. <option value="pluss" id="pluss"> + </option>
  15. <option value ="minuss" id="minuss"> - </option>
  16. <option value ="times" id="times"> * </option>
  17. <option value = "splitt"id="split"> / </option>
  18. </select>
  19. <input type="number" id="val2">
  20. <div style= "display: inline"> = </div>
  21. <input type="number" id="sum">
  22. <input type="button" id="calc2" onclick="liveReload()" value="Запуск раcчета">
  23. </div>
  24. <script src="scriptDZ6Dom.js"></script>
  25. </body>
  26. </html>