SHARE
TWEET

Untitled

a guest Oct 21st, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3.  
  4. <head>
  5.     <meta charset="UTF-8">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. </head>
  8.  
  9. <body>
  10.     <h2 id="title">Calc</h2>
  11.     <input id="firstNum" type="number" placeholder="Enter first number">
  12.     <select id="selectOperator">
  13.         <option value="+">+</option>
  14.         <option value="-">-</option>
  15.         <option value="/">/</option>
  16.         <option value="*">*</option>
  17.     </select>
  18.     <input id="secondNum" type="number" placeholder="Enter second number">
  19.     <button id="doCalc">=</button>
  20.     <span id="resultNum"></span>
  21.  
  22.     <script src="script.js"></script>
  23. </body>
  24.  
  25. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top