-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (62 loc) · 1.81 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>On Track</title>
</head>
<body>
<h1>On Track</h1>
<h2>Keep track of all your subscriptions in one place</h2>
<form>
<div class="personal-info">
<h3>Personal information:</h3>
<label>First name:</label>
<input
id="first-name-input"
type="text"
onblur="validFirstName()"
/><br />
<span id="first-name-feedback"></span><br />
<label>Last name:</label>
<input
id="last-name-input"
type="text"
onblur="validLastName()"
/><br />
<span id="last-name-feedback"></span><br />
<label>Email:</label>
<input
id="email-input"
onblur="validEmail()"
type="email"
name="email"
required
/><br />
<span id="email-feedback"></span><br />
<button input type="submit" id="submit-button">Submit</button>
</div>
</form>
<div>
<h3>Enter your subscription information:</h3>
<label>Subscription name:</label>
<input id="sub-name" type="text" /><br />
<label>Subscription type</label>
<input id="sub-type" type="dropdown list" /><br />
<label id="start-date">start date:</label>
<input type="date" /><br />
<label id="'end-date">end date:</label>
<input type="date" /><br />
<button id="add-button" type="submit">Add Subscription</button>
</div>
<div>
<h3>Your current subscriptions</h3>
<ul id="list-container">
<li id="item"></li>
<li></li>
</ul>
</div>
</body>
<script src="index.js"></script>
</html>