Learn Basic JavaScript by Building a Role Playing Game - Step 1

Tell us what’s happening:

Describe your issue in detail here.

Your code so far

I’m trying to enter the first line of the code I’m not sure if it’s correct or not but I keep getting a error. I’m putting

<!DOCTYPE html>

<!-- User Editable Region -->

<!DOCTYPE html>


<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 16_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/121.0.6167.66 Mobile/15E148 Safari/604.1

Challenge Information:

Learn Basic JavaScript by Building a Role Playing Game - Step 1

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.

1 Like

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

You’ll need to add more than just the DOCTYPE tag. And it should only be added once.

You need to add all of the other other elements mentioned in the instructions.

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