Code error even though code is correct

Tell us what’s happening:
the challenge states to add a title and link in the head , i have done so but i keep getting an error saying the code isn’t right? more so , that the link should be self closing. iv been following all the challenges for the course from the start and have been doing it this exact same way, but for some reason now it wont work?

  **Your code so far**

<!DOCTYPE html>
  <title>Registration Form</title>
  <link rel="stylesheet" type="text/css" href="styles.css">
  **Your browser information:**

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

Challenge: Step 4

Link to the challenge:

The test is too strict but it is telling you what the problem is. It wants to you close the link element with a /.

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

There is an issue on GitHub for this already.

i literally just spotted it there haha , was about to remove the post. Thanks man haha

No problem. But the test should really be fixed as the closing slash is totally optional.

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