Create Survey Form Radio button title issue

Hi I’m having a issue that I have looked for a solution for two days now with no success. Below is the code that I am trying to use to recreate the form in the challenge “Build a Survey Form”, and was in the stage of positioning the the options, text, radio buttons, and checkboxes. I am trying to add the label "Would you recommend freeCodeCamp to a friend? " question with the 3 radio buttons to choose from. The radio buttons appear but the question itself does not. I’ve tried just a label, tried putting the question in a different div, and tried different formats for the radio buttons just to see if that would work. Any help here would be great.

        <fieldset>
            <legend>Would you reccomend freeCodeCamp to a friend?</legend>
                <label for="definitely"><input type="radio" name="radio" id="definitely" checked> Definitely</label>
                <label for="maybe"><input type="radio" name="radio" id="maybe"> Maybe</label>
                <label for="not-sure"><input type="radio" name="radio" id="not-sure"> Not sure</label>
        </fieldset>

    </div>
1 Like

can you please link to your project?

https://codepen.io/Sharky-Buns/pen/vYXJNRj

1 Like

Hi, you forgot the closing tag for the dropdown list.

1 Like

Hi MrSteelbreaker,

Thanks for the reply. I don’t see where you are referring to. What line are is it that I forgot the closing tag?

Also I’m trying to get line 44 and 54 to show up on the page, which I don’t know what tag to use and why it isn’t showing up.

Its line 55 where you open your <select> -element. But after that there is no closing-tag. :slight_smile:

1 Like

omg thank you. I didnt realize it needed one. I for some reason thought it was a self closing tag. That fixed it.

1 Like