forked from andreacardybailey/Sample-Repo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
33 lines (33 loc) · 1.08 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>FormData Example</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<main>
<h1 tabindex="0">Sample App</h1>
<form id="contactForm" action="#">
<div>
<label for="firstname">First Name</label>
<input type="text" id="firstname" name="firstname" placeholder="Enter first name" required>
</div>
<div>
<label for="lastname">Last Name</label>
<input type="text" id="lastname" name="lastname" placeholder="Enter last name" required>
</div>
<div>
<label for="email">Email</label>
<input type="email" id="email" name="email" placeholder="Enter email" required>
</div>
<div>
<input type="submit" name="submit" id="submit" value="Submit Form">
</form>
</main>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"></script>
<script src="form.js"></script>
</body>
</html>