Front End Libraries - React - Exercise 01

Hello,

As usual I am trying to work locally at the same time using the free code camp setup to complete the challenges. Is the following the equivalent of what’s happening in exercise one behind the scenes.

My guess is yes…

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="https://unpkg.com/react@16.12.0/umd/react.development.js"></script>
    <script src="https://unpkg.com/react-dom@16.12.0/umd/react-dom.development.js"></script>
  </head>
  <body>
    <div id="root"></div>
    <script type="text/javascript">
      const rootElement = document.getElementById('root');
      const JSX = React.createElement('h1', {
        children: 'Hello JSX!',
      });
      console.log(JSX);
      ReactDOM.render(JSX, rootElement);
    </script>
  </body>
</html>