Tell us what’s happening:
hi - I saw there was a post about this but the solution did not address my issue. Why am I getting the error
" Sorry, your code does not pass. You’re getting there. Your script
element should have an opening tag."
As far as I can tell it does? I’ve tried moving it from the head to the body and vice versa, trying it with and without the ./
, resetting the whole thing - I keep getting the error. Thank you!!
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="./styles.css">
<!-- User Editable Region -->
<title>RPG - Dragon Repeller</title>
</head>
<body>
<main>
<div id="game">
</div>
</main>
<script src="./script.js"></script>
</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/120.0.0.0 Safari/537.36
Challenge Information:
Learn Basic JavaScript by Building a Role Playing Game - Step 2