Step 4 Registration Form

Tell us what’s happening:
Describe your issue in detail here.
I keep getting the error message that " the link element has to be self-closing" i’m pretty sure my code is correct. I even tried to /> to close it. It will not let me get pass this challenge. Can anyone help?

  **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/102.0.0.0 Safari/537.36

Challenge: Step 4

Link to the challenge:

Try removing the spaces between href= and “styles.css”>

Also add a forward slash before that “>”

1 Like

Thank you!! that worked. I was going mad over that!! :rofl: :sweat_smile:

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