#name-label is not defined , SURVEY FORM

i have tried everything and still havent gotten anywhere.getting the same error.
please check my code and see, i have defined the name-lable .
SOLVED!!
THANKS

Hey,

i have defined the name-lable

it’s label, not lable
++ there are unclosed tags
++ for attribute should match id of element not name

e.g.

<label for="name">Name:</label">
<input type = "text" id="name"/>

ps Try using analyze tool of codepen editor(chevron top right of HTML/css/js editor)

@shivansh.sharma134, when a test fails click the red button to see which test(s) are failing and text to help you correct the issue.

  • Be sure and read more than just the first line of the failing message. The ability to read and comprehend error messages is a skill you’ll need to acquire as a developer. Ask questions on what you don’t understand.

The failing message says

For the name, email, and number input fields inside the form I can see corresponding labels that describe the purpose of each field with the following ids: id="name-label", id="email-label", and id="number-label".
#name-label is not defined : expected null to not equal null
AssertionError: #name-label is not defined : expected null to not equal null

Can you see what the test is looking for?

I have the same question. I’m also unable to decipher the error message or else I wouldn’t be combing through the help forum.

@thatwolfyouknow Please create a new thread for your question and make sure to post a link to your Codepen so we can see the code.