-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
45 lines (44 loc) · 1.96 KB
/
form.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
<!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>Craftsy Peeks</title>
<link rel="stylesheet" href="style.css">
<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=Dosis&display=swap" rel="stylesheet">
<style>@import url('https://fonts.googleapis.com/css2?family=Dosis&display=swap');</style>
<script src="script.js"></script>
</head>
<body>
<div class="container">
<div class="nav-bar">
<h1 class="nav-title">Craftsy Peeks</h1>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="#">About me</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Craftsy inspirations</a></li>
<li><button class= 'sub-btn'
onclick="window.location.href='./form.html'">Subscribe</button></li>
</ul>
</div>
<div class="form-container">
<p class="thanks">Thanks for wanting to keep in touch! Please leave us
your name and email to # for our newsletter! Let's
get creative together!
</p>
<form>
<input type="text" placeholder="First Name">
<input type="text" placeholder="Last Name"><br>
<input type="text" placeholder="Email address"><br>
<input type="radio" id="getEmail" name="get-email" value="get_email">
<label for="Email">Check here to acknowledge you want to recieve emails</label><br>
<button class="subscribe" onclick="alert('Great! Thanks for subscribing!')">Subscribe!</button>
</form>
</div>
</div>
</body>
</html>