Registration Form step4 - I have no idea how this is wrong, please help me!

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
<!DOCTYPE html>
<html>
<head>
  <title>Registration Form</title>
  <link rel="stylesheet" type="text/css" href="styles.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:

Hello,

You need to put a forward slash after "styles.css" - this will make it a self-closing tag.

1 Like

OMG, thanks so much, I haven’t notice that.

A self closing tag should have an ending slash included into the tag
e.g

```

A self closing tag should have an ending slash included into the tag
e.g

<link />

<link rel="stylesheet" type="text/css" href="styles.css"/>

```
1 Like

FYI, the requirement of having a forward slash to close the <link> tag is a bug in the test and will eventually be fixed. Self-closing tags don’t require the forward slash, but the test was accidentally written to fail without it.

There is no harm in having the forward slash at the end. But it is not required.

1 Like

Thanks! this was really bugging me

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