how to write dom in react code example Example: ReactDOM.render() ReactDOM.render(element, container[, callback])