What can I do? I don't understand this

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**



const JSX = (

<div id="challange-node">
  <h1>Hello World</h1>
  <p>Lets render this to the DOM</p>
</div> 

);
// Change code below this line
ReactDOM.render(JSX ,getElementById("challange-node") )


  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36

Challenge: Render HTML Elements to the DOM

Link to the challenge:

Hi @TursunboyAvazbekov !

Welcome to the forum!

You are not supposed to change code here

I would reset the lesson.

There are two issues with this line here

No.1:
It is supposed to be document.getElementById()

No…2:
It is supposed to be challenge-node.
You have a spelling error.

Hope that helps!

I don’t know where I made a mistake in the code

This part is incorrect

and this part is incorrect

Make sense?

I did so but it doesn’t work

Can I see your latest code?

Here is how to write code into the forum

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