Survey form project glitch

Tell us what’s happening:
Describe your issue in detail here.
I have been trying to submit this code in the CSS survey form project section but I keep getting the error message that the “link” element is self closing. i have closed it and done everything else but I am still stuck on that step with the same error message. What am I doing wrong?

  **Your code so far**
<!DOCTYPE html>
<html>
<head>
  <title>Registration Form</title>
  <link rel="stylesheet" href="style.css">
  
</head>
<body>
</body>
</html>
  **Your browser information:**

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

Challenge: Step 4

Link to the challenge:

Two things:

  • You are not using the correct file name for the href attribute. Look closely at the instructions. It is styles.css.
  • There is a bug in the test. You must add a forward slash at the end of the link tag. So it must end with />.
2 Likes

Hi
the challenge wants you to close the link with />.

It’s not a mistake btw, just > is common practice today.

1 Like

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