I hope the image will be visible… I’ve entered almost everything OK, It’s all correct (not pretty but functional)…
The only mistake the instructions are giving me so far: Your ‘#dropdown’ should have at least two selectable (not disabled) ‘option’ elements. I’m not sure what to do now, I’ve looked around the database but I can’t exactly zero on my problem
Please post your code and not an image. Also, link to the challenge.
The option element does not accept input
elements as its content. The browser is ejecting both the input and the text you have inside the option elements to outside the select
element.
This code
<select id="pet-select">
<option value="dog">
<input type="text" id="name"> Dog
</option>
</select>
Ends up like this in the browser.
<select id="pet-select">
<option value="dog">
</option>
</select>
<input type="text" id="name"> Dog