12345678910111213141516171819202122232425262728293031323334 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Document</title>
- <link rel="stylesheet" href="style.css">
- </head>
- <body>
- <div>
-
- <input type="number" id="val">
-
- <select name="calcFn" id="calcFn">
- <option value="pluss" id="pluss"> + </option>
- <option value ="minuss" id="minuss"> - </option>
- <option value ="times" id="times"> * </option>
- <option value = "splitt"id="split"> / </option>
- </select>
- <input type="number" id="val2">
- <div style= "display: inline"> = </div>
- <input type="number" id="sum">
- <input type="button" id="calc2" onclick="liveReload()" value="Запуск раcчета">
-
- </div>
-
- <script src="scriptDZ6Dom.js"></script>
- </body>
- </html>
|