38 lines
1.3 KiB
HTML
38 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<title>Weather App</title>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<meta charset="utf-8">
|
|
</head>
|
|
|
|
<style>
|
|
body {
|
|
font-family: sans-serif;
|
|
background-color: lightgray;
|
|
}
|
|
</style>
|
|
|
|
<body>
|
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
|
<a class="navbar-brand" href="#">Weather App</a>
|
|
</nav>
|
|
<div class="container mt-5">
|
|
<form id="weather-form" class="form-inline justify-content-center">
|
|
<label for="city" class="mr-2">Location:</label>
|
|
<input type="text" id="city" name="city" class="form-control mr-2">
|
|
<label for="state" class="mr-2">State:</label>
|
|
<input type="text" id="state" name="state" class="form-control mr-2">
|
|
<label for="country" class="mr-2">Country:</label>
|
|
<input type="text" id="country" name="country" class="form-control mr-2">
|
|
<button type="submit" class="btn btn-primary">Get Weather</button>
|
|
</form>
|
|
<div id="weather-info" class="mt-5"></div>
|
|
</div>
|
|
<script src="app.js"></script>
|
|
</body>
|
|
|
|
</html> |