What could be the problem

Tell us what’s happening:
The test result keep showing 'uncaught syntax error: invalid expression flag

Your code so far


Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 7.0; TECNO WX3P Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.83 Mobile Safari/537.36.

Challenge: Say Hello to HTML Elements

Link to the challenge:

Hi and welcome to the forum!

You seem to have deleted your code. Can you please include it?

<h1>"Hello World"</h1>

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 (’).

1 Like

Hi @rhoda1975!
Remove the quotes.

Edit: Actually the test accepts both answers. With or without quotes. So maybe it is your browser or a browser extension.

1 Like

Update Firefox and refresh.