Survey Form - Build a Survey Form Step 6

Tell us what’s happening:
Describe your issue in detail here.

So it asks me:“If you enter an email that is not formatted correctly, you will see an HTML5 validation error”, but I’m not quite sure how I could do this. I’m quite familiar on how to use everything it has taught me so far, but I don’t know when or why to use each one, so maybe that’s the problem why I don’t know what to do. Anyways, can anyone help me?

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en"></html>
<head>
</head>
<body>
  <h1 id="title">UvUidk's Survey Form</h1>
  <p id="description">Please fill out this form as an action of respect to the maker of this form</p>
  <form id="survey-form">
    <input id="name" type="text" required />
    <input id="email" required />
  </form>
</body>
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

For the start, you have put a closing ‘html’ tag at the top of the code. Why?

1 Like

Oh sorry, I don’t really know which ones are self-closing and which ones aren’t. But thank you for pointing that out to me! I appreciate it!

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