index.html 856 B

12345678910111213141516171819202122232425
  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>Document</title>
  9. </head>
  10. <body class="body">
  11. <div class="calc-wrap">
  12. <h1>Калькулятор</h1>
  13. <input class="first-input" type="number" value="2">
  14. <select class="select" name="" id="">
  15. <option value="+" selected>+</option>
  16. <option value="-">-</option>
  17. <option value="/">/</option>
  18. <option value="*">*</option>
  19. </select>
  20. <input class="second-input" type="number" value="1"> =
  21. <input class="result" type="number" value="3" disabled>
  22. </div>
  23. <script src="main.js"></script>
  24. </body>
  25. </html>