const paragraph = 'A paragraph' ReactDOM.render( <div id="test"> <h1>A title</h1> <p>{paragraph}</p> </div>, document.getElementById('myapp') )