Possible incorrect / overly strict rule in Building a Role Playing Game - Step 1

The test incorrectly fails HTML with lang="en-US" when it should be accepted as valid. en-US is a proper language tag per HTML specifications, indicating English as used in the United States.

The error message specifically states “Don’t forget the lang attribute” when the attribute is clearly present. Either the test should accept all valid language codes (including regional variants like en-US) or the instructions should specifically state to use only lang="en" if that’s the expected answer.

It’s indeed valid HTML but for the purpose of learning and this test please just use en.

You can submit a bug report if you want but this course is listed as archived now, so I’m not sure it will be a priority

Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.

1 Like