Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@WesleySmits
Created October 16, 2021 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WesleySmits/624f3e1106b7ea345f0827f652cc21cf to your computer and use it in GitHub Desktop.
Save WesleySmits/624f3e1106b7ea345f0827f652cc21cf to your computer and use it in GitHub Desktop.
Simple web calculator: Buttons of the calculator
<section class="buttons grid">
<button class="red" value="ac">AC</button>
<button class="red" value="ce">ce</button>
<button value="/">÷</button>
<button value="*">x</button>
<button value="7">7</button>
<button value="8">8</button>
<button value="9">9</button>
<button value="-">-</button>
<button value="4">4</button>
<button value="5">5</button>
<button value="6">6</button>
<button value="+">+</button>
<button value="1">1</button>
<button value="2">2</button>
<button value="3">3</button>
<button class="equals" value="=">=</button>
<button class="zero" value="0">0</button>
<button value=".">.</button>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment