System Error Step 4 - Building a Registration Form

Hello. I am on the Step 4 of Building a Registration Form. IT request :

Add a title element to the head , and give your project a title of Registration Form . Also, nest a self-closing link element in the head element. Give it a rel attribute value of stylesheet , a type attribute value of text/css , and an href attribute value of styles.css .

My code is:

<!DOCTYPE html>
<html> 
<head>
    <title>Registration Form</title>
    <link rel="stylesheet" type="text/css" href="styles.css"> 
  </head>
  <body>
  </body>
</html>

The system shows me:

Sorry, your code does not pass. Hang in there.

Hint
Your link element should be a self-closing element.

  **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:

Please enclose your code with 3 backticks(`)

Code enclosed with backticks:

<div>
  <p> Some text </p>
</div>

Code not enclosed with backticks:

Some text

You can also use the “preformatted text” tool in the editor ( </> ) to add backticks around text.

Screenshot 2022-05-18 at 2.50.20 PM

i have the same problem.

my code is:

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

open web browser and ask:
what is self-closing element

:slight_smile:

i tried that also and i still get the same error.

maybe is a typo… read it again :wink:

i copied and pasted the words on the instructions in case of a typo and i don’t know what to do.

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

Test

Sorry, your code does not pass. You’re getting there.

1 Like

I found this. looks like it’s bug, fixed but not released, as I understand

1 Like

Oh good. I was going crazy for a second there.

1 Like

i had to delete spaces in the code. The ones in front of the link.

Lame, guess it’s time to go touch some grass. I was really getting into a groove too.

Deleting the spaces didn’t work for me.

do you mean in <title> ? I see spaces there _Registration Form_

What worked for you? Did you pass the step?

They were referring to the white space before the link tag. my code is below.

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

I’ve switched out all of the quote marks between single, double, and nonexistant. I’ve moved the link tag to above the title. I’ve also removed all white space before the link tag in all instances.

1 Like

Also, no, I’ve not been able to progress

I am also having the exact same issu e

Maybe is still this… I wonder how I pass that part :confused:

I have been having issues with the same step. I came out of it and then just clicked step 5 on the curriculum page and I have been able to carry on. Hope that helps.

I just redo step, works fine for me.
So I ask again, did you look up for self-closing element?