1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| <!DOCTYPE html>
| <html lang="en">
| <head>
| <meta charset="UTF-8">
| <title>Leapyear</title>
| </head>
| <body>
|
| <input type="text" id="year">
| <button type="button" id="ok">Ok</button>
| <p id="output"></p>
| <p id="error-output"></p>
| <script src="leap.js"></script>
| </body>
| </html>
|
|