Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form class="card">
- <h3 class="title">SIMPLE CALCULATOR</h3>
- <div class="inputs-wrapper">
- <input id="num1" type="number" placeholder="First Number"/>
- <select id="operator">
- <option value="+">plus</option>
- <option value="-">minus</option>
- <option value="*">times</option>
- <option value="/">divided by</option>
- </select>
- <input id="num2" type="number" placeholder="Second number" />
- </div>
- <button type="submit">Calculate</button>
- <div class="answer-box">
- <p class="answer-label">Your answer is</p>
- <h4 id="answer-value">32434</h4>
- </div>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement