-
Notifications
You must be signed in to change notification settings - Fork 0
/
emailme.html
129 lines (114 loc) · 3.66 KB
/
emailme.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html lang="en">
<head>
<title>Email form</title>
<meta charset="UTF-8" />
<!-- for responsive web design -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- font awesome access link -->
<link
rel="stylesheet"
type="text/css"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
/>
<!-- Nunito font access link-->
<link
rel="stylesheet"
type="text/css"
href="https://fonts.googleapis.com/css2?family=Nunito&display=swap"
/>
<!-- styles.css link -->
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
<header>
<nav id="navbar">
<div class="navbar-left">
<img
src="https://mir-s3-cdn-cf.behance.net/projects/404/717a7e109106669.5fcc9b2ac3072.jpg"
id="dark-mode-switch"
alt="ger-image"
/>
</div>
<ul class="navbar-right">
<li class="nav-list"><a href="index.html">Home</a></li>
<li class="nav-list">
<a href="discovermongolia.html" target="_blank">About Mongolia</a>
</li>
<li class="nav-list">
<a href="emailme.html" target="_blank">Email me</a>
</li>
<li>
<button id="minimize-nav"><i class="fa-solid fa-bars"></i></button>
</li>
</ul>
</nav>
</header>
<main>
<section id="emailleft">
<h2 style="margin-top: -1em">Send me an email!</h2>
<!-- used div just to tick it off the requirements from the brief -->
<!-- div below is to ensure all input in form will have width of 100% using css-->
<div class="container">
<form
action="mailto:[email protected]"
method="post"
autocomplete="on"
>
<label for="fname">First Name: </label>
<input
type="text"
id="fname"
name="fname"
required
placeholder="Please enter your first name here"
/>
<label for="lname">Last Name: </label>
<input
type="text"
id="lname"
name="lname"
required
placeholder="Please enter your last name here"
/>
<label for="email">Email address: </label>
<input
type="email"
id="email"
name="email"
required
placeholder="Please enter your email here"
/>
<label for="message">Write me a message here: <br /></label>
<br />
<textarea id="message" name="message" cols="60" rows="8"></textarea>
<input
class="btn"
type="submit"
value="Send message!"
id="submitEmailBtn"
/>
</form>
</div>
</section>
<hr class="responsive-hr" />
<section id="emailright">
<h2>Message me on facebook or instagram instead!</h2>
<br />
<!-- Link to facebook and instagram pages -->
<a href="https://www.instagram.com/" target="_blank">
<i class="fa-brands fa-square-instagram fa-2xl"></i>
</a>
<a href="https://facebook.com/" target="_blank">
<i class="fa-brands fa-facebook fa-2xl"></i>
</a>
</section>
</main>
<footer class="footy">
<h2 style="font-size: 16px">
@2024 Maryanne's webpage.<br />All rights reserved and what not.
</h2>
</footer>
<script src="script.js" defer></script>
</body>
</html>