What am i doing wrong in this lesson?

<title>Registration Form</title>

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

link to the problem - https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-forms-by-building-a-registration-form/step-4

The lesson is requiring you to close the link element even though it does not state to do so. Simply close it like so: <link /> and you should be able to pass.

Is it a bug that it is asking me to close it with the / sign? I have passed previous lessons without the / sign.

Its a bug in the error checking of the lesson. FCC is working towards a fix for it but for now everyone has to add the /> to close it. Typically this is a stylistic choice for self-closing elements if I remember correctly.

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