Survey Form - Build a Survey Form

Tell us what’s happening:
what seems to be wrong with my code, I think I have code right the user stories numbering 1 and 2 but when i tried to run the test it seems not working. How do I know thaty the code i am doing is right?

freeCodeCamp Survey Form

Thank you for taking the time to help us improve the platform

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en"></html>
<head>
  <meta charset="UTF-8">
  <title>Survey Form Test</title>
  <link rel="stylesheet" href="styles.css"/>
</head>
<body>
  <h1 id="myTitle">freeCodeCamp Survey Form</h1>
  <p id="thankyouMessage">Thank you for taking the time to help us improve the platform</p>
</body>

  

/* file: styles.css */
body{
  background-color: #1b1b32;
  font-family: Tahoma;
  color:#f5f6f7;
  width: 100%;
}
h1, p{
  text-aligned: center;
  margin: 1em auto;
}

Your browser information:

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

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

First test: “You should have an h1 element with an id of title.”

You do have an h1 element, but what id does it have? Is it the same as what the test is asking for?

Once you fix the first test the second one will pass as well.

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