Files
  • index.html
  • script.js
  • style.css
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html> 
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width">
  <title>for sort split</title>
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <h1>for sort split</h1>
<div class="fields"><input type="text" class="number-field" id = "first" placeholder="Первое число"><input type="text" class="number-field" id = "second" placeholder="Второе"></div>
<button id="plusInput">+</button>

<button type = "button" id="buttonPlus">+</button>
<button type = "button" id="buttonSubtract">-</button>
<button type = "button" id="buttonMultiply">*</button>
<button type = "button" id="buttonDivide">/</button>
<button type = "button" id="buttonPow">^</button>
<button type = "button" id="buttonSquareRoot"></button>

<br>
  <div id="test"></div>

  <script src="script.js"></script>
</body>
</html>
result
console