summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php15
1 files changed, 7 insertions, 8 deletions
diff --git a/index.php b/index.php
index 61165fa..02d5fde 100644
--- a/index.php
+++ b/index.php
@@ -224,7 +224,7 @@
</section>
<!-- contact box -->
- <section id="contact" class="quiet">
+ <section id="contact">
<?php
// handle form submission
if (isset($_POST['name'], $_POST['email'], $_POST['body'])) {
@@ -237,28 +237,27 @@
mail('atc@53hor.net', 'test', 'test');
echo $email;
echo 'Thank you for your email!';
- } else {
- echo 'Please fill out the required fields.';
}
?>
<form action="/#contact" method="post">
<label for="name">Name</label>
- <input name="name" type="text" id="name" required />
+ <input name="name" type="text" id="name" placeholder="Jane Doe" required />
<label for="email">Email Address</label>
- <input name="email" type="email" id="email" required />
+ <input name="email" type="email" id="email" placeholder="jdoe85@aol.com" required />
<label for="body">Question/Comment</label>
- <textarea name="body" id="body" required></textarea>
+ <textarea name="body" id="body" placeholder="Briefly describe your inquiry, including any services or areas of study you're interested in." required></textarea>
- <input type="submit" value="Send" />
+ <!--<input type="submit" value="Send" />-->
+ <button type="submit" class="button">Send</button>
</form>
</section>
</main>
<footer>
- <p>&copy; 2021 Carpenter Tutoring, LLC. All rights reserved.</p>
+ <p>&copy; <?php echo date('Y'); ?> Carpenter Tutoring, LLC. All rights reserved.</p>
<p>
<a href="mailto:webmaster@carpentertutoring.com">
Having trouble with our site?