-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathentry.html
34 lines (30 loc) · 1.42 KB
/
entry.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">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Adam Mann">
<link rel="icon" type="image/png" href="./favicon_io/favicon.ico" />
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@700;900&family=Montserrat:wght@700&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="./css/style.css">
<title>Name Diviner | Enter Your Name</title>
</head>
<body class="entry-body">
<main class="entry-main">
<form class="entry-main__form" id="name-form" action="">
<label class="entry-main__label" for="name">Enter Your Name:</label>
<input class="entry-main__name-input" type="text" id="name" name="name" placeholder="Jane Doe"
pattern="[A-Za-z\-']+\s[A-Za-z\-']+" oninvalid="this.setCustomValidity('Please enter a first and last name')"
oninput="setCustomValidity('')" required>
<input class="entry-main__button" type="submit" value=Submit>
<a class="entry-main__button-link results-main__button index-main--white-link" href="index.html">Go back</a>
</form>
</main>
<!-- Axios CDN -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.19.0/axios.min.js"></script>
<script type='module' src="./js/entry.js"></script>
</body>
</html>