Let’s have a look at our first program…
My First Program:
Here are the main components of this program:
<script src=”https://unpkg.com/react@16/umd/react.development.js”></script> — Core React library
<script src=”https://unpkg.com/react-dom@16/umd/react-dom.development.js”></script> —the
react-dom package that provides DOM-specific methods
ReactDOM.render: The render method takes two arguments:
- The HTML-like elements (also known as JSX) that you want to output
- The location in the DOM where React will render the JSX.
My Second Program:
My Third Program:
And this is how it will look like
Please comment with your real name using good manners.