Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DaveVoyles/f9c2b324df8f780eae58 to your computer and use it in GitHub Desktop.
Save DaveVoyles/f9c2b324df8f780eae58 to your computer and use it in GitHub Desktop.
<!-- Container for Web Components content -->
<aside>
<h3>Enter the name of a Pokemon!</h3>
<form id="player-form" class="pure-form">
<input id="player-input" type="text" value="pikachu">
<button id="player-submit" class="pure-button pure-button-primary">Speak!</button>
<button id="btn-change-accent" class="pure-button pure-button-primary">Change Accent</button>
<!-- Text-to-speech -->
<voice-player id="player-element" accent="es-ES" text=""></voice-player>
</form>
<!-- Draw Pokemon here -->
<x-pokemon id="x-pokemon" name="pikachu"></x-pokemon>
</aside>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment