Add key inputs for most buttons
This commit is contained in:
parent
bc12cd9731
commit
0f23a7d239
2 changed files with 44 additions and 21 deletions
30
index.html
30
index.html
|
|
@ -18,27 +18,27 @@
|
|||
<button class="clear all">C</button>
|
||||
<button class="clear error">CE</button>
|
||||
<button class="plus-minus">+/-</button>
|
||||
<button class="operator">*</button>
|
||||
<button id="multiply" class="operator">*</button>
|
||||
|
||||
|
||||
<button class="num">7</button>
|
||||
<button class="num">8</button>
|
||||
<button class="num">9</button>
|
||||
<button class="operator">/</button>
|
||||
<button id="num7" class="num">7</button>
|
||||
<button id="num8" class="num">8</button>
|
||||
<button id="num9" class="num">9</button>
|
||||
<button id="divide" class="operator">/</button>
|
||||
|
||||
<button class="num">4</button>
|
||||
<button class="num">5</button>
|
||||
<button class="num">6</button>
|
||||
<button class="operator">-</button>
|
||||
<button id="num4" class="num">4</button>
|
||||
<button id="num5" class="num">5</button>
|
||||
<button id="num6" class="num">6</button>
|
||||
<button id="minus" class="operator">-</button>
|
||||
|
||||
<button class="num">1</button>
|
||||
<button class="num">2</button>
|
||||
<button class="num">3</button>
|
||||
<button class="operator">+</button>
|
||||
<button id="num1" class="num">1</button>
|
||||
<button id="num2" class="num">2</button>
|
||||
<button id="num3" class="num">3</button>
|
||||
<button id="plus" class="operator">+</button>
|
||||
|
||||
|
||||
<button class="num">0</button>
|
||||
<button class="num">.</button>
|
||||
<button id="num0" class="num">0</button>
|
||||
<button id="dec" class="num">.</button>
|
||||
<button class="equal">=</button>
|
||||
</div>
|
||||
</main>
|
||||
|
|
|
|||
Loading…
Reference in a new issue