Advertisement
Josif_tepe

Untitled

Apr 28th, 2023
841
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.68 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <title>Basic calculator</title>
  7. </head>
  8. <body>
  9.     <div class = "container">
  10.         <label for="text">Enter the first number: </label>
  11.         <input type="text" id="firstNumber">
  12.     </div>
  13.     <div class="container">
  14.         <label for="text">Enter the second number: </label>
  15.         <input type="text" id="secondNumber">
  16.     </div>
  17.  
  18.     <button type="submit" id="submitButton" onclick="funkcija()">Calculate</button>
  19.  
  20.     <label id="result" for="text"></label>
  21.    
  22.     <script src="logic.js"></script>
  23. </body>
  24. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement