What am I missing - RWD step 4

Tell us what’s happening:
I just can’t see what I’m doing wrong.
Code doesn’t pass because of or . I’ve restarted the challenge ad refreshed the browser several times but it just won’t pass. I think I’m going mad.

  **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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36

Challenge: Step 4

Link to the challenge:

EDIT:

HELP! Link should be a self-closing element.

Though it is not a requirement in practice, this particular lesson require you to add the slash to the end of the <link>. For example with an <img> tag:

<img href="whatever url"/>
                        ^
                        |

It’s my understanding, based on a post I read earlier, that this was not intended and there’s a fix being implemented.

Yeah, in some lessons the self-closing tags are required to use a backslash and in some they dont.

You’ve saved me! Thanks 8-bitgaming.

1 Like

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