I’m struggling with getting the #name descedant in step 4. How do I do this?
Your code so far
<!-- file: index.html -->
<h1 id="title">title</h1>
<p id="description">description</p>
<form id="survey-form"id="name">survey</form>
<input id="name" type="text" required >name</input>
<input id="email">email</input>
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Challenge: Survey Form - Build a Survey Form
Link to the challenge:
According to the task #4 , you need to place the input inside the form, your form, however, does not contain any elements.
I have done all it has instructed me to this point. What am I missing?
I just wrote above:
In the code you posted there are no inputs inside the form
I tried putting it in but it still doesn’t count.
You have syntax error in the form tag.
Plus inputs are self-closing elements
Plus you put the input inside the form opening tag, not inside the element
Its still not working. I don’t know what syntax error there is…
You are not using inputs properly
Inputs are self-closing elements
And element can not have 2 id-s.
More or less, yeah.
But I do not know why do you have text survey
inside the form.
Also your inputs are outside the form.
I think you figured out how to write self-closing elements
Ok thank you, I finally got it to work
system
Closed
April 3, 2023, 7:35am
12
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.