I need help with question 4

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
<!DOCTYPE html>
<html>
<head>
  <title>Registration Form</title>
<link rel="stylesheet" type="text/css" href="style.css"> 
</head>
<body>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36

Challenge: Step 4

Link to the challenge:

My last post was all kinds of messed up, so, you need to place the self-closing marker at the end of the link code. That is signified with a “/” as demonstrated in the code below. I cannot recall if that was ever actually covered but I looked it up when I ran into that issue and that’s how you create a self-closing tag.

Moderator deleted the answer

You forgot to add an “s” to “styles.css” and you should be good.

1 Like

Hi ! I tried this option but it didnt work. It keeps telling me " Your link element should be a self-closing element." I cant find the mistake, even though I already scrolled through the other projects in order to check if my code was ok.

My code is:

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

Could you help me?

Thanks :heart:

I have formatted your code stephanie to show the code, here how is to format


for you question this isn’t closed, it’s still consider open tag

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

this is a full tag

<link></link>

If you need more help please open new topic

1 Like

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