Survey Form - Build a Survey Form

Good afternoon,
All of our projects have started with a !Doctype, then HTML in arrows and my code has that. The first error is I should have an H1 with an ID=, but I have that. Is the interpreter expecting me to start with the H1 without the doctype, html, head, and body tags? I wouldn’t think so.

<!-- file: index.html -->

/* file: styles.css */
<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="styles.css">
<head>
<meta charset="utf-8">
</head>
<body>
<h1 id="title">Free Code Camp Survey</h1>
<p id="description">Thank you for filling out our form!</p>
</body>
</html>




Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2.1 Safari/605.1.15

Challenge Information:

Survey Form - Build a Survey Form

Your code passes the first four tests.

Try refreshing the browser.
If that does not work, clear the cache.
Or use a different browser.

Otherwise restart the computer.

Happy coding

The only issue with your code so far is that your link element should be inside the head. Other than that, all is good and as @Teller says, the first four tests should be passing.

It does not look like the tests are checking for the doctype, head, html, or body tags. I guess that works because the requirement is to build something that is “functionally” similar to https://survey-form.freecodecamp.rocks/. So I guess checking for styles and the other items you mentioned is not important for this particular exercise.

Thanks, I restarted and I noticed my html was in the styles tab. :laughing:

Noticed that when I rebooted and moved it. Appreciate the response.