THE FIRST exercise

The first HTML …hello world it keeps saying syntax error

Post your code here – it isn’t possible to see where your error is without being able to see that

<h1>Hello World</h1>

Hi! @Hydra99 Welcome to the forum

Can you edit 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.

Note: Backticks are not single quotes.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor ( </> ) will also add backticks around text.

<h>Hello World</h>

hmm… is that how you declare the heading element and why did you edit the tag you were supposed to simply update the text inside it


i actually made a mistake i forgot to write the h1 but i asure u that i did edit it but it keeps saying uncaught syntaxerror invalid regular expression flags

What’s your code now

you need to update your browser, the issue is that your browser is outdated and not compatible with freeCodeCamp

<h1>Hello World</H1>

is this how you end the heading tag

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