App Academy

HTML/CSS assessment "select" element question

I have already spent two tries on the HTML/CSS assessment. each time I get the response,
The questions you missed were:

has exactly one ‘select’ element with a name of ‘pet_type’ and an associated label with the content ‘Type’

I am not sure what the next step is

Hi Caleb,

I pulled up your submission, and this is what I saw in your index.html file:

      <div>
        <label for="type">Pet-type</label>
        <select id="type" name="pet_type">
          <option value="cat">Cat</option>
          <option value="dog">Dog</option>
          <option value="hamster">Hamster</option>
          <option value="zebra">Zebra</option>
          <option value="other">Other</option>
        </select>
      </div>

I suspect you may have made the correction, but forgot to save the file before re-zipping and re-submitting. Or, it is possible that you re-submitted your original zip file instead of the corrected one.
Jesse

I see. I thought I had saved the corrections, and deleted the old file, but I guess something must have gone wrong.

Thanks so much!

1 Like