Is slash in self closing forced?

I seen self closing tags before, I made it to the start of the Registration Form section of the new course, and at step 4, i get this:
image
It seems that it’s needing the link to be :

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

and not :

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

with the /> being the difference.
But i ommited the slash many times in the past, is it not really needed?
If so has the answer just forced it this time?

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

It’s a small bug that has had a fix merged. The fix should be in production soon.

I’m having the same problem, I guess it’s just a bug.

Yup, like I said above, it is a bug that has been fixed and the fix should be in production soon

Ty for the quick reply and nice to know it has a fix on its way.
I really do love how flexible the answers can be. In some cases i can even just use blank values when im needing to use default values :smiley:

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