-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (42 loc) · 1.5 KB
/
Copy pathindex.html
File metadata and controls
46 lines (42 loc) · 1.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login Forms</title>
<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=Nunito:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="heading">
<h1>Login Forms</h1>
</div>
<div class="challenge1">
<h2>Challenge 1</h2>
<p>When submitting the form, alert the value of the password input. <br />
<form id="password-form">
<input type="password" id="password-input" placeholder="* Enter your password" required>
<input type="submit" id="submit-input" value="Login">
</form>
</p>
</div>
<div class="challenge2">
<h2>Challenge 2</h2>
<p>When submitting the form, alert the value of the username and e-mail inputs. <br />
<form id="login-form">
<input type="username" id="username-input" placeholder="* Enter your username" required>
<input type="email" id="email-input" placeholder="* Enter your e-mail" required>
<input type="submit" id="login-input" value="Login">
</form>
</p>
</div>
<div class="footer">
Coded by Stephanie | Hosted with <a href="https://www.netlify.com/">Netlify</a>
</div>
</div>
<script src="script.js"></script>
</body>
</html>