1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import React from "react"; import ReactDOM from "react-dom"; const page = ( <div> <h1>my awesome website in react</h1> <h3>REasons</h3> <ol> <li>one</li> <li>two</li> <li>three</li> <li>four</li> </ol> </div> ); ReactDOM.render(page, document.getElementById("root"));