Advertisement
OpataJoshua

Untitled

Oct 6th, 2022
798
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.71 KB | None | 0 0
  1. <form class="card">
  2.         <h3 class="title">SIMPLE CALCULATOR</h3>
  3.         <div class="inputs-wrapper">
  4.           <input id="num1" type="number" placeholder="First Number"/>
  5.           <select id="operator">
  6.             <option value="+">plus</option>
  7.             <option value="-">minus</option>
  8.             <option value="*">times</option>
  9.             <option value="/">divided by</option>
  10.           </select>
  11.           <input id="num2" type="number" placeholder="Second number" />
  12.         </div>
  13.         <button type="submit">Calculate</button>
  14.         <div class="answer-box">
  15.           <p class="answer-label">Your answer is</p>
  16.           <h4 id="answer-value">32434</h4>
  17.         </div>
  18.       </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement