What’s happening:
Test output:
“Your html element should have an opening tag. Don’t forget the lang attribute.”
I have HTML opening tags, so what it really mean? I have a lang attribute too.
Code so far
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<title>RPG - Dragon Repeller</title>
</head>
<body>
<div id="game"></div>
</body>
</html>
<!-- User Editable Region -->
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 OPR/106.0.0.0
Challenge Information:
Learn Basic JavaScript by Building a Role Playing Game - Step 1