Survey Form - Build a Survey Form

Tell us what’s happening:
Hello, I write the code but it seems I have problem
after I write a code for but it didn’t show the button, instead you can see in textarea the code of submit button.
how can I fix the submit button?

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html>
  <head>
    <link rel="stylesheet" href="styles.css"> 
  </head>
  <body>
    <div>
      <header>
        <h1 id="title">freeCodeCamp Survey Form</h1>
        <p id="description">Thank you for taking the time to help us improve the platform</p>
      </header>
      <form id="survey-form">
        <div>
          <label for="name" id="name-label">Name</label>
          <input type="text" id="name" placeholder="Enter your Name"   required >
        </div>
        <div>
          <label for="email" id="email-label">Email</label>
          <input type="email" id="email" placeholder="Enter your Email" required >
        </div>
        <div>
          <label for="number" id="number-label">Age
(optional)</label>
          <input type="number" id="number" min="10" max="99" placeholder="Age"  required>
        </div>
        <div>
          <select id="dropdown">
            <option></option>
            <option></option>
            <option></option>
            <option></option>
            <option></option>
            <option></option>
        </div>
        <div>
          <input name="user-recommend" type="radio" value="Definitely">
          <input name="user-recommend" type="radio" value="Maybe">
          <input name="user-recommend" type="radio" value="Not sure">
        </div>
        <div>
          <input type="checkbox" value="A">
          <input type="checkbox" value="B">
          <input type="checkbox" value="C">
          <input type="checkbox" value="D">
          <input type="checkbox" value="E">
          <input type="checkbox" value="F">
          <input type="checkbox" value="G">
        </div>
<br><br>

 <textarea id="comment">


 <br><br>
  
   <button type="submit" id="submit" class="submit-button"> Submit</button>


       </form>
    </div>
  </body>

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

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

The textarea element needs both an opening and closing tag. You are missing the closing tag.

1 Like

my mistake, Thanks a lot :rose: