new file: index.html new file: package-lock.json new file: package.json new file: script.js new file: server.js new file: style.css
32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ru">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Погода</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<header>
|
|
<h1>Погода</h1>
|
|
</header>
|
|
<div class="city-selector">
|
|
<label for="city">Выберите город:</label>
|
|
<select id="city">
|
|
<option value="Novosibirsk">Новосибирск</option>
|
|
<option value="Moscow">Москва</option>
|
|
</select>
|
|
<button id="get-weather">Получить погоду</button>
|
|
</div>
|
|
<div class="weather-info">
|
|
<div class="timelapse-weather">
|
|
<h2>Таймлапс погоды</h2>
|
|
<div id="timelapse-container" class="timelapse-container"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="script.js"></script>
|
|
</body>
|
|
</html> |