I think there is a bug

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" href="styles.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/103.0.5060.53 Safari/537.36

Challenge: Step 4

Link to the challenge:

Second time I’ve seen this, a self closing tag is one where the opening tag can close itself with a / dash, and doesn’t require an entirely new closing tag.

hello and welcome to fcc forum :slight_smile:

why do you think there’s a bug?

self closing means you need to have a / right before that closing brace (i.e. <img />)

happy learning :slight_smile:

@bastien.virmaux You are correct, there is currently a bug in the test. HTML does not require a forward slash at the end of a self-closing tag but the FCC test does require it. So for the time being, make sure you always add a forward slash at the end (/>) of any self-closing tag to pass the FCC tests.

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