|
@@ -1,22 +1,39 @@
|
|
|
<!DOCTYPE html>
|
|
|
<html lang="en">
|
|
|
-<head>
|
|
|
- <meta charset="UTF-8">
|
|
|
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
+ <head>
|
|
|
+ <meta charset="UTF-8" />
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
<title>Document</title>
|
|
|
<style>
|
|
|
- table td {
|
|
|
- border: 1px solid black;
|
|
|
- padding: 20px;
|
|
|
- width: 20px;
|
|
|
- text-align: center;
|
|
|
- font-size: 20px;
|
|
|
- cursor: pointer;
|
|
|
- }
|
|
|
+ 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>
|
|
|
-
|
|
|
+ </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>
|
|
|
+ </body>
|
|
|
+</html>
|