index1.html 564 B

12345678910111213141516171819
  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 id="input1" type="number" placeholder="kmPerDay">
  11. <input id="input2" type="number" placeholder="walkPerDay">
  12. <button id="calc">enter</button><br>
  13. <textarea id="result" placeholder="kmPerWeek" style="resize: none; margin-top: 12px;" rows="1"></textarea>
  14. <script src="main.js"></script>
  15. </body>
  16. </html>