rendering htmnl element to DOM
const JSX = (
<div>
<h1>Hello World</h1>
<p>Lets render this to the DOM</p>
</div>
);
// this function is used to render JSX (html) elements to DOM
ReactDOM.render(JSX, document.getElementById('challenge-node'));