index.html 871 B

123456789101112131415161718192021222324252627282930
  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. <title>HW2</title>
  8. <link rel="stylesheet" href="style.css">
  9. </head>
  10. <body>
  11. <div class="container">
  12. <div class="calc__wrapper">
  13. <h3>Калькулятор</h3>
  14. <div class="calc__item">
  15. <span>Первое число</span>
  16. <input type="number" class="num1">
  17. </div>
  18. <div class="calc__item">
  19. <span>Второе число</span>
  20. <input type="number" class="num2">
  21. </div>
  22. <button class="btn"> Calculate </button>
  23. <div class="outer"> </div>
  24. </div>
  25. <script src="script.js"></script>
  26. </body>
  27. </html>