index.html 701 B

123456789101112131415161718192021222324
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <link rel="stylesheet" href="style.css">
  8. <title>HW7</title>
  9. </head>
  10. <body>
  11. <main class="main">
  12. <div class="wrapper">
  13. <input type="number" id='firstNumber' placeholder="Enter first number"> *
  14. <input type="number" id='secondNumber' placeholder="Enter second number">
  15. <button id='calc'>Press from calc</button>
  16. <input type="number" value="0" id="result">
  17. </div>
  18. </main>
  19. <script src="main.js"></script>
  20. </body>
  21. </html>