Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!-- index.html -->
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link href="./stylesheet.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="card">
<h1 class="title">
Donate to our cause
</h1>
<p class="description">
We have a cause that is very important, please donate to suppport our work
</p>
<form action="<YOUR WEBTASK.IO FUNCTION URL>" method="POST">
<input id="500" type="hidden" name="amount" value="500">
<div class="form-group">
<input class="form-control" name="phone" placeholder="Leave us your phone number">
</div>
<div class="form-group">
<textarea class="form-control" rows="4" name="message" placeholder="Leave us a message">Leave a message</textarea>
</div>
<hr>
<div class="align-right">
<script
src="https://checkout.stripe.com/checkout.js" class="stripe-button"
data-key="<YOUR STRIPE PUBLIC KEY>"
data-amount="500"
data-label="Donate $5.00"
data-name="Our CAUSE">
</script>
</div>
</form>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.