I don't know why

Just a guess, try getting rid of the spaces around the equal sign.

1 Like

Not a guess! it actually worked, same with another too Thank you

Technically, your original code should have passed as the spaces do not make it invalid HTML. I think this is just a case of the test being a little too strict. But in the real world, you would never see spaces there, that’s just not how these things are written. So while I’m tempted to say that the test should be updated to allow spaces I also think it is enforcing good habits by making you get rid of the spaces.

Moral of the story, don’t add spaces around the equals sign in HTML attributes.

1 Like

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