12345678910111213141516171819202122232425 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" href="style.css">
- <title>Document</title>
- </head>
- <body class="body">
- <div class="calc-wrap">
- <h1>Калькулятор</h1>
- <input class="first-input" type="number" value="2">
- <select class="select" name="" id="">
- <option value="+" selected>+</option>
- <option value="-">-</option>
- <option value="/">/</option>
- <option value="*">*</option>
- </select>
- <input class="second-input" type="number" value="1"> =
- <input class="result" type="number" value="3" disabled>
- </div>
- <script src="main.js"></script>
- </body>
- </html>
|