Just a quick question about forms

Can someone please help I’m confused. why is this label isn’t shown in the survey??
“Would you recommend this website to a friend?”

Hello. I can’t see the preview of your page, but I think I might’ve found the issue:

<select id="dropdown" >
        <option value="">(select one) </option>
        <option value="1">good </option>
        <option value="2">very good </option>
        <option value="3">excellent </option>
        <label>Would you recommend this website to a friend?</label>

These are lines 15-20 of your HTML code. Your select element has no closing tag.

thanks alot… I don’t know why you can’t see the preview though but your solution worked.

Another good thing to do when you are having issues is to run your HTML through a validator. Codepen also has its own HTML analyzer you can use as well. Either one would have caught this issue.

thanks a lot… is there some program to validate both html and css together?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.