Skip to content

Instantly share code, notes, and snippets.

@jeremycherfas
Created February 24, 2019 11:18
Show Gist options
  • Save jeremycherfas/33aa3d3596f3553786b53148541bc586 to your computer and use it in GitHub Desktop.
Save jeremycherfas/33aa3d3596f3553786b53148541bc586 to your computer and use it in GitHub Desktop.
<form
action="https://buttondown.email/api/emails/embed-subscribe/jeremycherfas"
method="post"
target="popupwindow"
onsubmit="window.open('https://buttondown.email/jeremycherfas', 'popupwindow')"
class="embeddable-buttondown-form"
>
<label for="bd-email">Enter your email</label>
<input type="email" name="email" id="bd-email">
<input type="hidden" value="1" name="embed"/>
<input type="submit" value="Subscribe" />
<p>
<a href="https://buttondown.email" target="_blank">Powered by Buttondown.</a>
</p>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment