25.8. Select Input

PHOTO EMBED

Tue Aug 30 2022 03:47:30 GMT+0000 (Coordinated Universal Time)

Saved by @cruz #javascript

<form action="https://handlers.education.launchcode.org/request-parrot" method="post">
   <label>Operation Code:
   <!-- includes empty value "Select One" option -->
   <select name="operation">
      <option value="">* Select One *</option>
      <option value="1">Simulation</option>
      <option value="2">Rocket Test</option>
      <option value="3">Crew Related</option>
   </select>
   </label>

   <label>Facility:
   <select name="facility">
      <option value="johnson">Johnson Space Center, TX</option>
      <option value="kennedy">Kennedy Space Center, FL</option>
      <option value="white-sands">White Sands Test Facility, NM</option>
   </select>
   </label>
   <button>Send Report</button>
</form>
content_copyCOPY

https://education.launchcode.org/intro-to-professional-web-dev/chapters/forms/select-input.html