Help! - Can't work out why User Stories 4 and 5 are not working on "Build a Survey Form"

Help! - Can't work out why User Stories 4 and 5 are not working on "Build a Survey Form"
0.0 0

#1

Hi, can anyone help - I can’t work out what the mistake is.

I’m going the the list of errors after testing my survey page and I can’t figure out why the test has an issue with;

  • User Story #4: Inside the form element, I am required to enter my name in a field with id=“name”.
  • User Story #5: Inside the form element, I am required to enter an email in a field with id=“email”.

I’ve got these id’s in the HTML, have I missed something???

Thank you


#2

First of all, input elements do not have separate closing tags. Instead they have self closing tags (see below for an example). Also, you need to review the lesson Use HTML5 to Require a Field for how to require a value for an input element.

// Valid Syntax
<input type="text" id="name" name="name" />

Same issue as described for User Story #4.


#3

Thank you for the quick reply, will review that lesson.

Thank you again