Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <script type="text/javascript" src=""></script>
    <script type="text/javascript" src=""></script>
    <link rel="stylesheet" href="">
    <div class="PushToTalkContainer">
      <push-to-talk-button appid="f2e6e9f3-0174-46c2-8723-abdf85fbeb3a" capturekey=" "/>

    <div class="BigTranscriptContainer">
        <div class="group">
          <div class="inputContainer">
            <select id="brand">
              <option>Air Jordan</option>
              <option>Fear of God</option>
              <option>New Balance</option>
              <option>Off White</option>

        <div class="group">
          <div class="inputContainer">
            <select id="color">




                body {
    radial-gradient(at 30% 40%, #00ffff80 10%, transparent 74%),
    radial-gradient(at 70% 60%, #0080ff80 10%, transparent 74%);
  background-color: #000;
  color: #fff;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	min-height: 100vh;
  --dropdown-handle-size: 0.35rem;  

main {
	display: flex;
	flex-direction: row;
  flex-wrap: wrap;
	justify-content: center;
  align-content: center;
	min-height: 100vh;
  margin: 0;
  padding: 0;

section {
  margin: 0.5rem 0.5rem 8rem 0.5rem;

label {
  padding: 0 0 0.2rem 0;
  display: block;

.group {
  margin: 0.75rem 0.75rem;

input, select {
  box-sizing: border-box;
  font-size: 1.5rem;
  border: 1px solid #ccc;
  padding: 0.5em;
  border-radius: 0.3em;
  background: linear-gradient(#eee, #ffffff 20%);
  min-width: 20rem;

input:focus, select:focus {
  outline: none !important;
  box-shadow: 0 0 10px #fff;

select {
  /* reset */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;

    linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%),
    linear-gradient(#eee, #ffffff 20%);
    calc(100% - var(--dropdown-handle-size) - 1rem) calc(50%),
    calc(100% - 1rem) calc(50%),
    var(--dropdown-handle-size) var(--dropdown-handle-size),
    var(--dropdown-handle-size) var(--dropdown-handle-size),
    100% 100%;
  background-repeat: no-repeat;

.inputContainer {
  position: relative;



                // Implement a listener for speech segment updates
  .addEventListener("speechsegment", (e) => {
    const speechSegment = e.detail;
    speechSegment.entities.forEach(entity => {
      let select = document.getElementById(entity.type);  
      let options = Array
        .map(option => option.innerHTML);
      const found = options
        .find(option => 
      if (found) select.value = found;