I need help figuring out what the issue is with my code. The issue is the editor keeps returning this error, You should give the label element the text, How did you hear about us?, even though my label element appears correct. Resetting the editor doesn’t correct the issue. Here is my code,
<label>How did you hear about us?
<select>
<option value="">(select one)</option>
<option value="1">freeCodeCamp News</option>
<option value="2">freeCodeCamp YouTube Channel</option>
<option value="3">freeCodeCamp Forum</option>
<option value="4">Other</option>
</select>
</label>
Your post does not display your code. Instead, it displays an empty dropdown menu. I assume this is because you didn’t place your code between backticks (`). Try placing your block of code in between two lines of three backticks each, as shown in this image:
This will ensure your code renders visually instead of being run and generating a dropdown menu, and will let us see your code and help you out.
Now that Teller has kindly edited the post and let me see the code, here’s the issue: On step 35, you’re not supposed to yet have all the text in the options in the select element. That comes in a later step. For some reason, the fact that you have the text is tripping up the automatic tests and not letting you pass. Remove the text from the option elements and it should let you pass.
[quote=“Codeless24, post:5, topic:727358, full:true”]
Thank you Teller for recognizing the issue. I knew the issue was something simple however, I just couldn’t see it.