Survey Form - Build a Survey Form

**i am trying to do my first certification project but each time i run my code, it shows show that my title element and other element is blank whereas the the title element is not blank pls assist me on this

Your code so far

<!-- file: index.html -->
<!doctype html>
<html lang="en">
  <head>
    <title>Survey Form</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <link rel="stylesheet" href="styles.css" />
    </head>
    <body>
      <h1>Survey Form</h1>
      <p>Thank you for taking the time to help us improve the platform</p>
      </body>
  </html>
/* file: styles.css */
body {background-image: url(https://cdn.freecodecamp.org/curriculum/css-cafe/beans.jpg);
  background-color: #097949;
width: 100%; height: 100vh; margin: 0;
color: white;
padding: 20px;
}
h1, p {text-align: center;}

Your browser information:

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

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

Hi,

I try to run your code and get some errors. Basic you need to add ids and types in your html and use as references in your CSS.

Ex.:

Failed: You should have an `h1` element with an `id` of `title`.
You should add an id in <h1>;

Failed:Your `#title` should not be empty.
Your #title reference in your CSS file should not be empty.

I hope this helps!

not sure I understood this. What is β€œit” in the sentence?
(the browser?)

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