/
content.html
38 lines (38 loc) · 887 Bytes
/
content.html
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
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title> Ajax Interactions </title>
</head>
<body>
<fieldset>
<h1>Weather Post</h1>
<form id="weatherForm">
<fieldset>
<legend>Enter City and State, or ZIP</legend>
<input type="text" name="weatherInput" id="weatherInput">
<input type="submit" id="weatherSubmit">
</fieldset>
</form>
<fieldset>
<legend> Results </legend>
<div id="weatherResult"></div>
</fieldset>
</fieldset>
<fieldset>
<h1>JSON Post</h1>
<form id="jsonPost">
<fieldset>
<legend> Enter Information to Post</legend>
<textarea rows="5" cols="60" id="postInput"></textarea>
</br>
<input type="submit" id="postSubmit">
</fieldset>
</form>
<fieldset>
<legend> Mirrored Response </legend>
<div id="postResponse"></div>
</fieldset>
</fieldset>
<script src="script.js"></script>
</body>