123456789101112131415161718192021222324252627282930313233343536373839 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>Document</title>
- <style>
- body {
- padding: 10px;
- }
- table td {
- border: 1px solid black;
- padding: 20px;
- width: 20px;
- text-align: center;
- font-size: 20px;
- cursor: pointer;
- }
- input {
- width: 100%;
- height: 40px;
- margin: 3px 0;
- font-size: 30px;
- }
- #calc {
- width: calc(100% + 4px);
- text-transform: uppercase;
- }
- </style>
- </head>
- <body>
- <input type="number" id="number1" /> <br />
- <input type="number" id="number2" /> <br />
- <input type="number" id="result" /> <br />
- <input type="button" id="calc" value="calc"/>
- <script src="js.js"></script>
- </body>
- </html>
|