Survey Form - Build a Survey Form

Tell us what’s happening:
Describe your issue in detail here.
I have passed all test until the “submit” button. I don’t see what I am missing?
I use the code: and I get the notification: Your #submit should have a type of submit . I also tried the variation code. I don’t get it passed!? What is it I don’t see?

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  </html>
<head>
  <title>Survey Form</title>
  <link rel="stylesheet" href="styles.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>  

<body>
<h1 id="title">Basic Survey Form</h1>
<p id="description"> Please fill out this form with the required information and submit.</p>

<form type="text" id="survey-form" id="name"> 
  <label for="name" id="name-label">Enter Your Name: <input type="name" id="name" placeholder="name" required /></label><br>

  <label for="email" id="email-label">Enter Your Email: <input name="fileA" type="email" id="email" placeholder="email" required /></label><br>

  <label for="number" id="number-label">Enter Number: <input name="fileB" type="number" id="number" placeholder="10" required min="0" max="10"/></label><br>

  <label for="dropdown">Gender: </label>
  <select id="dropdown">
    <option value="woman">woman</option>
    <option value="man">man</option>
    <option value="non-binary">non-binary</option>
    </select><br>

    Select A/B:
  <input type="radio" name="fav_language" value="a">
  <label name="radio">A</label>
  <input type="radio" name="fav_language" value="b">
  <label name="radio">B</label><br>

  Select color:
  <input name="fileC" type="checkbox" id="submit" value="white">
  <label for="checkbox">White</label>
  <input name="fileD" type="checkbox" id="submit" value="brown">
  <label for="checkbox">Brown</label><br>

  Comments:
  <textarea type="text">
    </textarea><br>

<input type="submit" value="Submit" id="submit">
    </form>
  </body>
</html>
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

Hello!

Your closing tag is missing something :wink:.

Check the very top of your code. You’ve got an extra end tag right up there. Not sure if that’s what’s causing it but remove that and run the test again.

the closing tag for the html needs to go at the bottom of your html file, on the last line (all the other code goes in between)