-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
64 lines (54 loc) · 2.77 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
<!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="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="style.css">
<title>Frontend Mentor | Intro Component Sign-Up</title>
</head>
<body>
<main class="container">
<div class="left">
<h1>Learn to code by watching others</h1>
<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">
<div class="try">
<p><strong>Try it free 7 days</strong> then $20/mo. thereafter</p>
</div>
<div class="form-box">
<div class="input-row">
<input class="" id="first-name" type="text" placeholder="First Name">
<img class="error-icon hidden" id="first-name-error-icon" src="./public/icon-error.svg" alt="error-icon">
</div>
<p class="error-message hidden" id="error-first-name">First name cannot be empty</p>
<div class="input-row">
<input id="last-name" type="text" placeholder="Last Name">
<img class="error-icon hidden" id="last-name-error-icon" src="./public/icon-error.svg" alt="error-icon">
</div>
<p class="error-message hidden" id="error-last-name">Last name cannot be empty</p>
<div class="input-row">
<input id="email" type="text" placeholder="Email Address">
<img class="error-icon hidden" id="email-error-icon" src="./public/icon-error.svg" alt="error-icon">
</div>
<p class="error-message hidden" id="error-email-empty">Email cannot be empty</p>
<p class="error-message hidden" id="error-email-invalid">Looks like this is not an email</p>
<div class="input-row">
<input id="password" type="password" placeholder="Password">
<img class="error-icon hidden" id="password-error-icon" src="./public/icon-error.svg" alt="error-icon">
</div>
<p class="error-message hidden" id="error-password">Password cannot be empty</p>
<button>Claim your free trial</button>
<p id="disclaimer">By clicking the button, you are agreeing to our <strong>Terms and Services</strong></p>
</div>
</div>
<script src="script.js"></script>
</main>
<footer>
Challenge by <a href="https://www.frontendmentor.io/challenges/intro-component-with-signup-form-5cf91bd49edda32581d28fd1" target="_blank" rel="noopener">Frontend Mentor</a>.
Coded by <a href="https://github.com/gdbecker/FrontendMentorProjects/tree/main/intro-component"
target="_blank" rel="noopener">Garrett Becker</a>.
</footer>
</body>
</html>