Skip to content

Instantly share code, notes, and snippets.

@webmaxru
Created August 8, 2020 17:14
Show Gist options
  • Save webmaxru/e3d15646b215ca19ba2a4244bae1f47f to your computer and use it in GitHub Desktop.
Save webmaxru/e3d15646b215ca19ba2a4244bae1f47f to your computer and use it in GitHub Desktop.
oEmbeddr - markup
<h1 class="display-4 text-center">{name}</h1>
<form class="row mb-3" on:submit|preventDefault={submitHandler}>
<div class="col-sm-12 col-md-9 mb-1">
<input
type="text"
class="form-control form-control-lg"
id="urlInput"
placeholder="Social media post URL..."
aria-label="Social media post URL"
bind:value={url}
required />
</div>
<div class="col-md-3">
<button class="btn btn-lg btn-primary btn-block">Get a code</button>
</div>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment