-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
62 lines (55 loc) · 2.27 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<script src="script.js" defer></script>
<title>Sign-up form</title>
</head>
<body>
<div class="left">
<img src="imgs/ferrari-wallpaper.jpg" alt="background" class="background">
</div>
<div class="content">
<div class="top-text">Sign up for our F1 newsletter now to keep yourself updated with the latest news and
drama!<br>
You know you want to!
</div>
<div class="form">
<form action="#" method="post" id="myForm">
<legend>Lets get started</legend>
<div>
<label for="first-name">FIRST NAME</label>
<input type="text" id="first-name" name="first-name" placeholder="John" required>
</div>
<div>
<label for="last-name">LAST NAME</label>
<input type="text" id="last-name" name="last-name" placeholder="Doe" required>
</div>
<br>
<div>
<label for="email">EMAIL</label>
<input type="email" name="email" id="email" placeholder="[email protected]" required>
</div>
<div>
<label for="phone-number">PHONE</label>
<input type="number" name="phone-number" id="phone-number" placeholder="Your phone number"
pattern="[1-9]{1}[0-9]{9}" max="10" required>
</div>
<br>
<div>
<label for=" password">PASSWORD</label>
<input type="password" name="password" id="password" required>
</div>
<div>
<label for="confirm-password">CONFIRM PASSWORD</label>
<input type="password" name="confirm-password" id="confirm-password" required>
</div>
</form>
</div>
<button type="submit" class="button"><span>Create Account </span></button>
<div class="login">Already have an account? <a href="#">Log in</a></div>
</div>
</body>
</html>