showing results for - "rendering htmnl element to dom"
Erik
10 Aug 2016
1const JSX = (
2  <div>
3    <h1>Hello World</h1>
4    <p>Lets render this to the DOM</p>
5  </div>
6);
7// this function is used to render JSX (html) elements to DOM
8ReactDOM.render(JSX, document.getElementById('challenge-node'));