Self-closing issue

Tell us what’s happening:
Describe your issue in detail here.
Its saying my link not self closing but it is.

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

Challenge: Step 4

Link to the challenge:

Hey there! Welcome to the forums! :wave: :slightly_smiling_face:
Some of the new course work requires self closing tags to have a slash right before the closing angle bracket:

<element attribute="value"/>
                          ^
                         /
               note slash

Based on another post I read, I believe this was not intended and the lesson will be changed in the future to not require this.

3 Likes

Thanks bro cause this drove me crazy

1 Like