Tell us what’s happening:
Your code so far
const JSX = (
<div>
<h1>Hello World</h1>
<p >Lets render this to the DOM
</p>
</div>
);
// Change code below this line
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.146 Safari/537.36
.
Challenge: Render HTML Elements to the DOM
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
ilenia
February 8, 2021, 10:47am
2
Hello there.
Do you have a question?
If so, please edit your post to include it in the Tell us what’s happening section.
The more information you give us, the more likely we are to be able to help.
RenderDOM
is used to render the HTML Elements to DOM.
Pass your JSX
function as the first argument and element id as the second argument in order to render the component.
system
Closed
August 9, 2021, 10:50pm
4
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.