-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (61 loc) · 1.67 KB
/
index.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html>
<head>
<Title>Assignment 1</Title>
</head>
<body>
<script> // ------------ CODE FOR ASSIGNMENT 2 ----------- //
function test_print() {
console.log("test code");
}
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="main.js"></script>
<h1>Assignment 1: Parsing Twitter Data from JSON Format</h1>
<hr>
<table>
<thead>
<tr>
<th>Tweet Content</th>
<th>Date/Time Created</th>
</tr>
</thead>
<tbody id="tweet-table"></tbody>
</table>
<button id="get-tweets">Get All Tweets!</button>
<hr>
<table>
<thead>
<tr>
<th>User ID List</th>
</tr>
</thead>
<tbody id="id-table"></tbody>
</table>
<button id="get-ids">Get All User ID's!</button>
<hr>
<form id="tweet-from-id">
To get a tweet, enter its ID:
<input id="enter-tweet-id" type="text" value="">
<input type="submit">
</form>
<button type="button" id="submit-tweet-id">Submit!</button>
<table>
<thead>
<tr>
<th>Tweet Text</th>
<th>Tweet Created At</th>
</tr>
</thead>
<tbody id="tweet-from-id-table"></tbody>
</table>
<hr>
<form>
Enter ID:
<input id="create-tweet-id" type="text" value="" name="tweetID">
Enter Text:
<input id="create-tweet-text" type="text" value="" name="tweetText">
<input type="submit" onclick=""/>
</form>
</body>
</html>