Survey Form - Build a Survey Form

Tell us what’s happening:
Describe your issue in detail here.
Your #name should be a descendant of #survey-form . what exactly is a descendent?

Your code so far

Survey Form

Please fill out this form completely and accurately

<!-- file: index.html -->
<h1 id="title"> Survey Form</h1>
<p id="description">Please fill out this form completely and accurately</p>
<form id="survey-form"></form>
<input type="text" id="name" required>

/* 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/113.0.0.0 Safari/537.36

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

Meaning it needs to be in between your forms opening and closing tags (or nested). When its in your form like this the form is the parent element, and #name is the child or descendant.

am i using

for this?

//

are the descendants nested like this
? //

@jasongoodnight3218

If the input tag is nested in the form tag, it is a descendant of the form tag. I hope this helps.

Look up “nested tags” on w3schools to learn more about nested tags.

// This is a comment in JavaScript/CSS

<!-- This is a comment in HTML -->
<html>
    <body></body>
<html>

Above, the body tag is a descendant of the html tag.

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