-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
25 lines (22 loc) · 1.03 KB
/
index.html
File metadata and controls
25 lines (22 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>WEATHER APP with Location request</title>
<link rel="icon" type="image/png" sizes="32x32" href="./favicon.ico">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
</head>
<body>
<div id="content">
<form action="/" method="post">
<!--wrap all of this inside a form -> create a post request from root route "/" when the user hits this button.
and send info to our server and trigger the res from external-->
<label for="cityInput">City Name</label>
<!-- will read out loud the label, when the user is focused on the element -->
<input id = "cityInput" type="text" name="cityName">
<button type="submit" name="button"> Submit</button>
</form>
</div>
<script type="text/javascript" src="config.js"></script>
</body>
</html>