1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <!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">
- <title>HW - Calculator</title>
- <link rel="stylesheet" href="style.css">
- </head>
- <body>
- <div class="container">
- <div class="calc__wrapper">
- <h3>Калькулятор расхода топлива</h3>
- <div class="calc__item">
- <span>Затрачено топлива</span>
- <input type="number" name="liters">
- <label for="liters">литров</label>
- </div>
- <div class="calc__item">
- <span class="way">Пройдено пути</span>
- <input type="number" name="km">
- <label for="km">километров</label>
- </div>
- <div class="radio__wrapper">
- <input type="radio" id="liter" name="choise">
- <label for="liter">В литрах на 100км</label>
- <input type="radio" id="uah" name="choise">
- <label for="uah">В гривнах на 100км</label>
- <div class="price__item">
- <span class="price">Цена топлива за литр</span>
- <input type="number" name="price" required>
- <label for="price">грн</label>
- </div>
- </div>
- <div class="outer"> </div>
- <button class="btn"> Очистить </button>
- </div>
- </div>
- <script src="script.js"></script>
- </body>
- </html>
|