Last active
May 31, 2019 22:46
-
-
Save emaildano/405ee34efb470ae467d1ec9d3cfb1934 to your computer and use it in GitHub Desktop.
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
<div> | |
<style> | |
.contact-form__btn { | |
background-color: #207786; | |
border: none; | |
color: white; | |
padding: 15px 32px; | |
text-align: center; | |
text-decoration: none; | |
display: inline-block; | |
font-size: 16px; | |
margin-top: 10px; | |
} | |
</style> | |
</div> | |
<form | |
class="contact-form" | |
action="https://formspree.io/[email protected]" | |
method="POST" | |
> | |
<div> | |
<div> | |
<h3> | |
<label for="first_name">First</label> | |
</h3> | |
<input type="text" name="first_name" /> | |
</div> | |
<div> | |
<h3> | |
<label for="last_name">Last</label> | |
</h3> | |
<input type="text" name="last_name" /> | |
</div> | |
</div> | |
<div> | |
<h3> | |
<label for="_replyto">Email</label> | |
</h3> | |
<input type="email" name="_replyto" /> | |
</div> | |
<div> | |
<h3> | |
<label for="phone">Phone</label> | |
</h3> | |
<input type="tel" name="phone" /> | |
</div> | |
<div> | |
<h3> | |
<label for="comments"></label> | |
</h3> | |
<textarea name="comments" rows="10"></textarea> | |
</div> | |
<input class="contact-form__btn" type="submit" value="Send" /> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment