Survey Form - Build a Survey Form

Tell us what’s happening:
Why i can’t see a preview of my code on teh preview windows?

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="stylesheet" href="/styles.css" />
    <title>Survey<title>
    </head>
    <body>

      <h1 id="title">Survey Form</h1>
      <p id="description">it is a survey form for programers</p>
      <form id="survey-form" action="post">
        <label for="name-label">Name<input type="text" id="name" placeholder="Insert name" rerquired></label>
        <label for="email-label">Email<input type="email" id="email"  placeholder="Insert Email"rerquired></label>
        <label for="number-label">Age<input type="number"  min="10" max="80"id="number" pattern="1,2,3,4,5,6,7,8,9,0"  placeholder="Insert age" rerquired></label>

       <select id="dropdown">
          <li value="" disabled>Seleccione</li>
          <li value="javaScript">Java Script</li>
          <li value="typescript">Type Script</li>
          <li value="react">React</li>
       </select>

       


      </form>
    </body>
  </html>
/* file: styles.css */
*{
  background-color: red;
}

h1{
  color:red;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

I removed

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="stylesheet" href="/styles.css" />
    <title>Survey<title>
    </head>

and now the content is showing up for me. I think the head is optional for these projects

Thanks, i fix it, removing and adding again the header.

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