-
Notifications
You must be signed in to change notification settings - Fork 0
/
form-no-js.html
52 lines (48 loc) · 2.69 KB
/
form-no-js.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta name="title" content="Jung Tzen Liew's About Me">
<meta name="author" content="Jung Tzen Liew">
<meta name="keywords" content="About Me, University of California San Diego, Peanut Gallery">
<link rel="stylesheet" type="text/css" href="styles/style.css">
<title>Contact Me</title>
</head>
<body>
<header class="header_container">
<nav class="navigation">
<ul id="menu">
<li><a href="index.html">HOMEPAGE</a></li>
<li><a href="all_about_me.html">ABOUT ME</a></li>
<li><a href="documents.html">LET'S GET PROFESSIONAL</a></li>
<li><a href="contact.html" class="current_page">CONTACT ME</a></li>
</ul>
</nav>
</header>
<main>
<br>
<form class="suggestions" action="https://httpbin.org/post" method="POST">
<fieldset>
<label for="name">WHAT'S YOUR NAME?</label>
<input type="text" name="name" id="name" placeholder="Enter your name here..." pattern="[A-Za-z ]*" required><br>
<output for="name" id="name_error"></output><br>
<output for="name" id="name_info"></output><br>
<label for="email">WHAT'S YOUR EMAIL?</label>
<input type="email" name="email" id="email" placeholder="[email protected]" required><span></span><br>
<output for="email" id="email_error"></output><br>
<output for="email" id="email_info"></output><br>
<label for="comments">COMMENTS?</label>
<input type="text" name="comments" id="comments" placeholder="Comments should only contain typical characters (letters, numbers, spaces, and . ? ! , ' +)" maxlength="200" pattern="[A-Za-z0-9 .?!,'+]*" required ><br>
<output for="comments" id="comments_error"></output><br>
<output for="comments" id="comments_info"></output><br>
<label for="possible_bot"></label>
<input type="hidden" name="possible_bot" id="possible_bot" value="true">
<output for="possible_bot" id="possible_bot_error"></output>
<output for="possible_bot" id="possible_bot_info"></output>
<button class="submit" type="submit">SUBMIT</button>
</fieldset>
</form>
</main>
</body>
</html>