basic react

In this example below you will see how to do a basic react with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by 潘军宇, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright 潘军宇 ©

Technologies

  • HTML
  • JavaScript
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>basic react</title>
  
  
  
  
  
</head>

<body>

  <div id="root"></div>
  <script src='https://cdnjs.cloudflare.com/ajax/libs/react/16.2.0/umd/react.development.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.2.0/umd/react-dom.development.js'></script>

  

    <script  src="js/index.js"></script>




</body>

</html>

/*Downloaded from https://www.codeseek.co/codenoobforreal/basic-react-ZowVxO */
ReactDOM.render(React.createElement(
  'h1',
  null,
  'Hello, world!'
), document.getElementById('root'));

Comments