Survey Form - Build a Survey Form

Tell us what’s happening:

Hello. There are some problems with the second step. Will you be able to help me, please? I need a help with the second point of this servey form coding:

Survey Form

Your code so far

<!-- file: index.html -->
<h1 id="title"></h1>
<p id="description">Survey Form</p>
/* 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/128.0.0.0 Safari/537.36 OPR/114.0.0.0

Challenge Information:

Survey Form - Build a Survey Form

Do you mean

  1. Your #title should not be empty.

Try putting some content to that element

Hey Buddy, is given below problem is your issue ?

2. Your `#title` should not be empty.

If that is your issue , it means your title element shouldn’t be empty.

<title>This title shouldn't be empty</title>

Hope You Understand.

<h1 id="title"><title>Survey Form</title></h1>
<title>Survey Form</title>
<p id="description"></p>
<p id="description"></p>

I’ve tried different varients to fill in the #, but unfortunately it doesn’t solve the problem in step 2

I’ve tried, but it doesn’t help.

Hi there!

You need to structure your html file with starting code.
You need to add html, head, link title and body elements.
Remember, title and link elements goes within the head element.

For above test case, you need to add a heading to your #title element. Your #title element is h1 element.

1 Like

this is the element to fill with text, not other elements

Otherwise should I do it analogically to the Learn HTML Forms by Building a Registration Form project? If so, I should create it a little later, because I haven’t finished the last one yet, in spite of the fact there no problems for me in the previous projects any more, because I’ve finished them all except for the: Learn HTML Forms by Building a Registration Form. For now, I’ll leave everything as is and return to the certification testing for knowledge of HTML after some time - immediately after completing the last of the remaining unfinished projects for me: Learn HTML Forms by Building a Registration Form, so that when I complete the certification testing for knowledge of HTML and mastery of its programming skills, I don’t have any gaps in my knowledge.

Of course, you need to finish the previous challenge first.

1 Like

Have you solved your problem ? After advice of @hasanzaib1389 and @ILM ??

1 Like

Not yet. I’ve delayed solving it before finishing the last project. I haven’t got enough knowledge yet to solve it right now, unfortunately. I’ll return to this problem in some days.

Can You please do tell us your updated code ?

1 Like

Ok, I’ll send it here after returning to it in some days, because right now I’m making another project: Learn HTML Forms by Building a Registration Form, not this one, because for this one I haven’t got enough knowledge yet.

1 Like

Now you’re doing again Registration form ?

Not again, I’ve just only begun doing it when I realised, that it is impossible to miss it (skip something important, skip over something) as it has some useful information for this step.
Today, 03.11.2024, I’ve finished all the previous projects and can continuing doing this step of certification task.

1 Like

I’ve finished them and used their knowledge here, but some of them are useless.

<h1 id="title"><title>Survey Form</title></h1>
<html lang="en"></html>
<!DOCTYPE html>
<html lang="en">
  <body></body>
</html><head>
    <title>Survey Form</title>
    <meta charset="utf-8">
  </head>
<p id="description"></p>
<p id="description"></p>

This code doesn’t pass either.

Hi @Dennis-code153

The html is not well structured.

  1. The first line of code should be the !DOCTYPE declaration.
  2. You have two html elements.
  3. id attribute values need to be unique.
  4. the content that displays for the webpage should go in the body element.
  5. the last tag should be a closing html tag.

Happy coding

  1. Your #name should require input.
<label for="new-password">Create a New Password: <input id="new-password" type="password" name required minlength="8" /></label>

Hello. I’ve got some problems with step 8 in Servey Form. Please, help me.

what issue are you having?

<label for="new-password">Create a New Password: <input id="new-password" type="password" name required minlength="8" /></label>

Hi! That is not your #name element. That is your #new-passwrod input element.