-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (30 loc) · 1.14 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Native validation example</title>
</head>
<body>
<form id="form" class="form">
<div class="field-box">
<label class="label">Username</label>
<input type="text" autocomplete="username" id="username" name="username" class="field" required />
<p class="error">Please enter your username</p>
</div>
<div class="field-box">
<label class="label">Email</label>
<input type="email" autocomplete="email" id="email" name="email" class="field" />
<p class="error">Please enter your email</p>
</div>
<div class="field-box">
<label class="label">Telephone</label>
<input type="tel" autocomplete="tel" id="tel" name="tel" class="field" />
<p class="error">Please enter your telephone</p>
</div>
<button type="submit" class="submit-button">Apply</button>
</form>
<script type="module" src="/main.js"></script>
</body>
</html>