Last active
October 3, 2021 14:59
-
-
Save Jexordexan/bc36987ca6ed1c2184074a6c5bb31e79 to your computer and use it in GitHub Desktop.
Final contact page template code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="container"> | |
<h1 class="title"> | |
Contact | |
</h1> | |
<div class="content"> | |
<form name="contact" action="/thank-you" netlify-honeypot="bot-field" method="post" netlify> | |
<input type="hidden" name="form-name" value="contact" /> | |
<p class="hidden"> | |
<label>Don’t fill this out: <input name="bot-field"></label> | |
</p> | |
<label class="form-label" for="name"> | |
Name: | |
</label> | |
<input class="form-field" name="name" id="name" /> | |
<label class="form-label" for="email"> | |
Email: | |
</label> | |
<input class="form-field" name="email" id="email" /> | |
<label class="form-label" for="message"> | |
Message: | |
</label> | |
<textarea class="form-field" name="message" id="message"></textarea> | |
<input class="form-button" type="submit" value="Send message" /> | |
</form> | |
</div> | |
</div> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there, was following your tutorial on medium. This code doesn't seem to work., It keeps getting routing Page Not Found in netlify