feature/5 #7
@@ -0,0 +1,44 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Contact | My Personal Blog</title>
|
||||
<link rel="stylesheet" href="css/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
<nav class="site-nav" aria-label="Main navigation">
|
||||
<a class="brand" href="index.html">My Blog</a>
|
||||
<ul class="nav-links">
|
||||
<li><a href="index.html">Home</a></li>
|
||||
<li><a href="contact.html" aria-current="page">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<main>
|
||||
<h1>Contact</h1>
|
||||
<p>Use the form below to get in touch — submitting it opens your mail client with the details pre-filled.</p>
|
||||
|
||||
<form id="contact-form" class="contact-form">
|
||||
<div class="form-field">
|
||||
<label for="name">Name</label>
|
||||
<input type="text" id="name" name="name" required autocomplete="name" />
|
||||
</div>
|
||||
<div class="form-field">
|
||||
<label for="email">Email</label>
|
||||
<input type="email" id="email" name="email" required autocomplete="email" />
|
||||
</div>
|
||||
<div class="form-field">
|
||||
<label for="message">Message</label>
|
||||
<textarea id="message" name="message" rows="6" required></textarea>
|
||||
</div>
|
||||
<button type="submit">Send message</button>
|
||||
</form>
|
||||
</main>
|
||||
<footer class="site-footer">
|
||||
<p>© 2026 My Personal Blog</p>
|
||||
</footer>
|
||||
<script type="module" src="js/contact.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user