Responsive Web Design building a Registration Form Step 4

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.

self closing elemengs still need you to finish the tag with >

I added that but it still is saying it’s not right

please share a link to the step and post all your code

here’s the link:

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

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" >


it works both ways, the issue is that the tests enforce one over the other

1 Like

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