My first code is not working

Tell us what’s happening:
I type the code

<h1>"Hello world".</h1>

Your code so far

<h1>"Hello World"</h1>

<h1>"Hello World".</h1>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8.

Challenge: Say Hello to HTML Elements

Link to the challenge:

I’ve edited your post 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 (’).


Do not use " ".
Just add World at the right position as expected without any changes!

Hello World

I can’t pass this test

At the beginning you have the following situation:


You have to add World to it so that it becomes:

<h1>Hello World</h1>

Try again!

what do you see in the output below where you write the code? is there anything written there when you run the tests?

Your h1 element should have the text “Hello World”.

// running tests
SyntaxError: Cannot declare a const variable twice: ‘n’.

that doesn’t seem related to your code

please update your browser and try without browser extensions