-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
104 lines (101 loc) · 3.36 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Practice AJAX</title>
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<h1 class="text-center mt-4">AJAX practice</h1>
<div class="form-section mt-5">
<div class="container">
<div class="row">
<div class="col col-8 mx-auto">
<div class="card">
<div class="card-body">
<h5 class="card-title">Enter your information</h5>
<form name="post-user">
<fieldset class="form-group">
<label for="name">Name</label>
<input
type="text"
class="form-control"
id="name"
name="name"
/>
</fieldset>
<fieldset class="form-group">
<label for="email">Email</label>
<input
type="email"
class="form-control"
id="email"
name="email"
/>
</fieldset>
<fieldset class="form-group">
<label for="username">Username</label>
<input
type="text"
class="form-control"
id="username"
name="username"
/>
</fieldset>
<fieldset class="form-group">
<label for="phone">Phone</label>
<input
type="number"
class="form-control"
id="phone"
name="phone"
/>
</fieldset>
<fieldset class="form-group">
<label for="website">Website</label>
<input
type="text"
class="form-control"
id="website"
name="website"
/>
</fieldset>
<button type="submit" class="btn btn-primary btn-submit">
Submit
</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="form-section mt-5">
<div class="container">
<div class="row">
<div class="col col-8 mx-auto">
<div class="card">
<div class="card-body">
<h5 class="card-title text-center">Get all users</h5>
<button
class="card-title text-center btn btn-outline-primary mx-auto d-block btn-get"
>
Get users
</button>
<ul class="list-group col-8 mx-auto mt-3 ul"></ul>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="app.js"></script>
</body>
</html>