-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
76 lines (66 loc) · 3.15 KB
/
index.html
File metadata and controls
76 lines (66 loc) · 3.15 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="This is a front-end coding challenge - Intro component with sign up form">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/styles.css">
<title>Frontend Mentor | Intro component with sign up form</title>
</head>
<body>
<main>
<section class="container">
<div class="left-section">
<h2>Learn to code by watching others</h2>
<p>See how experienced developers solve problems in real-time. Watching scripted tutorials is great,
but understanding how developers think is invaluable.</p>
</div>
<div class="right-section">
<div class="form-promo">
<p><span>Try it free 7 days</span> then $20/mo. thereafter</p>
</div>
<form id="sign-up-form" action="#">
<div class="input-group">
<input class="input-text" id="first-name" type="text" placeholder="First Name" aria-label="First Name"
name="first-name">
<img class="error-icon" src="./assets/images/icon-error.svg" alt="error icon">
<p class="error-message">First Name cannot be empty</p>
</div>
<div class="input-group">
<input class="input-text" id="last-name" type="text" placeholder="Last Name" aria-label="Last Name"
name="last-name">
<img class="error-icon" src="./assets/images/icon-error.svg" alt="error icon">
<p class="error-message">Last Name cannot be empty</p>
</div>
<div class="input-group">
<input class="input-text" id="email" type="email" placeholder="Email Address" aria-label="Email Address"
name="email">
<img class="error-icon" src="./assets/images/icon-error.svg" alt="error icon">
<p class="error-message">Looks like this is not an email</p>
</div>
<div class="input-group">
<input class="input-text" id="password" type="password" placeholder="Password" aria-label="Password"
name="password">
<img class="error-icon" src="./assets/images/icon-error.svg" alt="error icon">
<p class="error-message">Password cannot be empty</p>
</div>
<button id="submit" type="submit">Claim your free trial</button>
<p class="form-disclaimer">By clicking the button, you are agreeing to our <a href="#">Terms and Services</a>
</p>
</form>
</div>
</section>
</main>
<script src="./scripts/scripts.js"></script>
<!-- <footer>
<p class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Max Lockwood</a>.
</p>
</footer> -->
</body>
</html>