<div id="app"></div>
const app = document.querySelector('#app');
const root = ReactDOM.createRoot(app);
const element = React.createElement('h1', {
children: 'Hello React',
})
root.render(element);
View Compiled
This Pen doesn't use any external CSS resources.