<div id="root"></div>
const name = 'Roy';

ReactDOM.render(
  React.createElement(
    'h1',
    {},
    'Hello ' + name
  ),
  document.getElementById('root')
);
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://unpkg.com/react/umd/react.development.js
  2. https://unpkg.com/react-dom/umd/react-dom.development.js