index.html 512 B

12345678910111213141516
  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>Document</title>
  8. </head>
  9. <body>
  10. <input placeholder="input first number" id="firstNumber">
  11. <input placeholder="input second number" id="secondNumber">
  12. <button id="calc">Sum 2 numbers</button>
  13. <input placeholder="result" id="result">
  14. <script src="main.js"></script>
  15. </body>
  16. </html>