So, this step is tells me to nest a self-closing link in the head section and this is what i wrote:
<link rel="stylesheet" type="text/css" href="styles.css"
But it keeps telling me to add a self-closing link element and I can’t figure out what’s wrong with the code any help would be greatly appreciated.
ILM
2
self closing elemengs still need you to finish the tag with >
I added that but it still is saying it’s not right
ILM
4
please share a link to the step and post all your code
here’s the link: https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-forms-by-building-a-registration-form/step-4
<head>
<title>Registration Form</title>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
</body>
ILM
6
you need to write the self closing element like <link /> - the tests are being fixed, but for now it’s like that
Hi ilenia
thanks for responding to her query.
so that’s an error right? it’s actually supposed to be the following?:
<link rel="stylesheet" type="text/css" href="styles.css" >
Nia
ILM
8
it works both ways, the issue is that the tests enforce one over the other
1 Like
system
Closed
9
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.