Your link element should be a self-closing element? What does it mean?

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="styles.css">
</head>
<body>
</body>
</html>
  **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:

This is a self closing element → <link rel="stylesheet" />
Notice the “/>” by the end of the tag

Compare it to the “p” element → <p> i need to be closed </p>

In your code you just need the add the “/” by the end of your link tag, like this:
Mod Edit: SOLUTION REDACTED

Hope this helps! :slight_smile:

2 Likes

Ah, got it. Thanks for explaining!

1 Like