-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (44 loc) · 1.86 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="description">
<meta name="author" content="author">
<title>Title</title>
<link rel="icon" href="favicon.ico">
<!-- fonts -->
<link rel='stylesheet' href="https://fonts.googleapis.com/css?family=Open+Sans|Roboto:300">
<link rel='stylesheet' href="styles/external/reset.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/kognise/water.css@latest/dist/light.min.css">
<link rel='stylesheet' href="styles/index.css">
</head>
<body>
<div id='container'>
<div id='left'>
<label for="add-person">add a person:</label>
<input type="text" id="add-person" name="add-person" placeholder="name">
<button id="add-person-button" onclick="addPerson()">submit</button>
<br /><br />
<label for="get-friends">find a person's friends:</label>
<input type="text" id="get-friends" name="get-friends" placeholder="id">
<button id="get-friends-button" onclick="getFriends()">submit</button>
<pre id="get-friends-container"></pre>
<label for="add-friend">add a friend to a person:</label>
<input type="text" id="add-friend-self" name="add-friend" placeholder="person's id">
<input type="text" id="add-friend-friend" name="add-friend" placeholder="friend's id">
<button id="add-friend-button" onclick="addFriend()">submit</button>
<br /><br />
<label for="remove-person">remove a person:</label>
<input type="text" id="remove-person" name="remove-person" placeholder="person's id">
<button id="remove-person-button" onclick="removePerson()">submit</button>
<br /><br />
</div>
<div id='right'>
<p>all friends:</p>
<pre id="get-all-container"></pre>
</div>
</div>
<script src="scripts/index.js"></script>
</body>