-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
34 lines (32 loc) · 1.05 KB
/
index.html
File metadata and controls
34 lines (32 loc) · 1.05 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
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script type ="text/javascript" src="dataHandler.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>This is Excercise 2</h1>
<!--<div class='form-wrapper'>
<form action='dataHandler.js' method="POST">
Name:<br>
<input type='text' id='name'' name='name'><br>
Blogpost:<br>
<input type='text' id='blogpost' name='blogpost'><br>
<input type='submit' name='submit' value='Submit'>
</form>
</div>-->
<div id="input-wrapper">
Name: <input id="name" name="name" type="text"/>
<br /><br />
Blogpost: <input id="blogpost" name="blogpost" type="text"/>
<br /><br />
<input name="postBtn" type="submit" value="Submit Post" onClick="javascript:ajaxDataPost();">
</div>
<div id="status"></div>
<div id="post-list"></div>
<script>
fetchAllData();
</script>
</body>
</html>