Top Tools to Learn React Quickly (With Free & Paid Resources)
A JavaScript package is used to create user interfaces using React. Visit the React documentation homepage or the javatpoint tutorial to learn more about React.
You can easily create a React program using HTML to obtain operation. It is operated to an understanding of React technology. However, the npm and Node.js must be set up in a production environment to use React.
- Use React
- Study React
- Keeping Current information
Use React
React is created with a progressive adoption mind. You can use react in whichever quantity for anywhere for each operation. You want to learn more about React, give a basic HTML page some interactivity, or begin a complicated React-powered program.
The following steps exist to use React with the HTML and JS pages. The javascript is used on the script tag of the html page.
- Create html page and its elements.
- Use the online link of the React development
- Use script tag and react development program
- Use the component, class, and function of the react
- Shows the output and operational validation
Playgrounds Online
- If you want to learn, use an online coding playground to experiment with React. The CodePen, CodeSandbox, or Stackblitz are IDEs to try a basic program or template.
- This HTML file can be downloaded, edited, and opened from the local file system. This file system in your browser is used as your text editor.
- We can use it for the runtime code to develop any react.js applications.
Improve a website with React
- The React is added to an HTML page easily. You can either progressively increase prominence or limit it. It helps to a small number of dynamic widgets on the website.
New React App Creation
- A basic HTML page with script elements can be the best choice for beginning a React project. The setup only takes a minute to develop any basic coding page!
- You can switch to a more integrated structure as your application expands. We recommend several JavaScript toolchains for more complex applications.
- Each of the rules allows you to utilise the robust React ecosystem fully. The react page can operate with little to no configuration on the web page.
Study React
React attracts individuals with a variety of backgrounds and learning preferences. You can find this helpful area, whether for theoretical or practical approaches.
- How to Learn a Javatpoint React Tutorial
- Learn things gradually with react documentation.
- Initial Cases
React examples with a live editor are available on the React homepage.
If you are unfamiliar with React, observe how it affects the outcome, then Change the code. - React for beginners
Check out the overview of React by javatpoint.com or https://legacy.reactjs.org/tutorial/tutorial.html official website. It is an approachable manner while introducing the key ideas of Reacts. - React For Designers
If you have design experience, these materials are a wonderful place to start React.js. - Resources for JavaScript
The React manual has fundamental expertise in JavaScript programming. It becomes more challenging even if you are not an expert in learning JavaScript and React simultaneously. - Advanced Ideas
Once familiar with the fundamental ideas and have experimented with React, you can be interested in more complex subjects. In this part, you will learn about the potent but less-used React capabilities like context and refs. - Refer to the API
When you want to know details of the particular React API, you can use the API section or code. You may find information on the operation of setState() and the purposes of various lifecycle methods, for instance, React.Component API reference.
Continuing to Learn
- The React team’s updates are available exclusively on their blog.
- Release notes and deprecation notices will be provided there if they are significant.
- Although you won’t miss anything important if you read the blog, you may also follow the @reactjs account on the social network.
- The CHANGELOG.md file is in the React repository. It works on the Releases website to provide a thorough change log for each release of React.
Prerequisite for React getting Started
The following points are required for the react development.
- HTML and CSS are familiar to the user or coder.
- JavaScript and programming fundamentals are required.
- DOM knowledge is a most basic requirement.
- Knowledge of ES6’s features and syntax.
- Global installation of npm and node.js.
Examples
The following examples help to start, learn and practice React in html and other languages.
Example 1:
The given example shows the basic example with a simple message. We can use an online file link with the html and script page.
- <!DOCTYPE html>
- <html>
- <head>
- <script src = “https://unpkg.com/react@18/umd/react.development.js” crossorigin></script>
- <script src = “https://unpkg.com/react-dom@18/umd/react-dom.development.js” crossorigin></script>
- <script src = “https://unpkg.com/@babel/standalone/babel.min.js”></script>
- <style>
- #demo1{
- background-color: orange;
- border: 1px solid black;
- width: 370px;
- }
- </style>
- </head>
- <body>
- <div id = “demo1”>
- <b> React Getting Started </b>
- <div id = “mycontainer”></div>
- </div>
- <script type=”text/babel”>
- // Use the function for the message to display on the div tag
- function Hello() {
- return <h1>Hello Student for the react getting started!</h1>;
- }
- // Create root for the react and show the message of the function
- const container_name = document.getElementById(‘mycontainer’);
- const root = ReactDOM.createRoot(container_name);
- // Get output and place on the container
- root.render(<Hello />)
- </script>
- </body>
- </html>
Output:
The output shows a basic message on the web page.

Example 2:
The given example shows the basic example with the required message. We can use an online file link with the html and script page. The react uses a name and ID tag to get a message. We can use static values for the ID and name tag.
- <!DOCTYPE html>
- <html>
- <head>
- <script src = “https://unpkg.com/react@18/umd/react.development.js” crossorigin></script>
- <script src = “https://unpkg.com/react-dom@18/umd/react-dom.development.js” crossorigin></script>
- <script src = “https://unpkg.com/@babel/standalone/babel.min.js”></script>
- <script src = “https://unpkg.com/react@18/umd/react.production.min.js” crossorigin></script>
- <script src = “https://unpkg.com/react-dom@18/umd/react-dom.production.min.js” crossorigin></script>
- <style>
- #demo1{
- background-color: orange;
- border: 1px solid black;
- width: 370px;
- }
- </style>
- </head>
- <body>
- <div id = “demo1”>
- <b> React Getting Started with id and name </b>
- <div id = “mydiv”></div>
- </div>
- <script type = “text/babel”>
- //Use class for the message
- class HelloMessage extends React.Component {
- // function call name and id for message
- render() {
- return <div>Hello Id: {this.props.id} name:{this.props.name}</div>;
- }
- }
- //create react root to show the message
- const container = document.getElementById(‘mydiv’);
- const root = ReactDOM.createRoot(container);
- // Get output and place on the container
- root.render(<HelloMessage id=”Javatpoint” name=” website” />);
- </script>
- </body>
- </html>
Output:
The output shows a basic message on the web page.

Example 3:
The given example uses the html tags and their values. We can use table elements, header values, and information using react.
- <!DOCTYPE html>
- <html>
- <head>
- <script src = “https://unpkg.com/react@18/umd/react.development.js” crossorigin></script>
- <script src = “https://unpkg.com/react-dom@18/umd/react-dom.development.js” crossorigin></script>
- <script src = “https://unpkg.com/@babel/standalone/babel.min.js”></script>
- <style>
- #demo1{
- background-color: orange;
- border: 1px solid black;
- width: 370px;
- }
- </style>
- </head>
- <body>
- <div id = “demo1”>
- <b> React Getting Started with Table </b>
- <div id = “mycontainer”></div>
- </div>
- <script type=”text/babel”>
- // Use the function for the message to display on the div tag
- function Hello() {
- return <table>
- <thead>
- <tr>
- <th>Name</th>
- <th>Job</th>
- <th>Payment</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>Charlie</td>
- <td>Designer</td>
- <td>10,000</td>
- </tr>
- <tr>
- <td>Mruna</td>
- <td>Developer</td>
- <td>15,000</td>
- </tr>
- <tr>
- <td>Deepa</td>
- <td>Analyst</td>
- <td>18,000</td>
- </tr>
- <tr>
- <td>Rima</td>
- <td>Tester</td>
- <td>12,000</td>
- </tr>
- </tbody>
- </table>;
- }
- // Create root for the react and show the message of the function
- const container_name = document.getElementById(‘mycontainer’);
- const root = ReactDOM.createRoot(container_name);
- // Get output and place on the container
- root.render(<Hello />)
- </script>
- </body>
- </html>
Output:
The output shows a table and its information on the web page.

A Stateful Element
A component can store internal state data (accessible via this.state) and accept input data (accessed via this.props). Re-invoking render() will update the rendered markup whenever a component’s state data changes.
Example:
The example shows the static component with the function, class and other elements. We can see the time for the second unit. We can restart the timer after the button clicks.
- <!DOCTYPE html>
- <html>
- <head>
- <script src = “https://unpkg.com/react@18/umd/react.development.js” crossorigin></script>
- <script src = “https://unpkg.com/react-dom@18/umd/react-dom.development.js” crossorigin></script>
- <script src = “https://unpkg.com/@babel/standalone/babel.min.js”></script>
- <script src = “https://unpkg.com/react@18/umd/react.production.min.js” crossorigin></script>
- <script src = “https://unpkg.com/react-dom@18/umd/react-dom.production.min.js” crossorigin></script>
- <style>
- #demo1{
- background-color: orange;
- border: 1px solid black;
- width: 370px;
- }
- </style>
- </head>
- <body>
- <div id = “demo1”>
- <b> React Getting Started with Timer </b>
- <div id = “mydiv”></div>
- </div>
- <script type = “text/babel”>
- //create react root to show the message
- const container = document.getElementById(‘mydiv’);
- const root = ReactDOM.createRoot(container);
- //Use class with the static component
- class Timing extends React.Component {
- constructor(props) {
- super(props);
- //Initial the value with the 0 second
- this.state = { seconds: 0 };
- }
- // Increment with each second and shows on web page
- tick() {
- this.setState(state => ({
- seconds: state.seconds + 1
- }));
- }
- // Set interval for the timer function
- componentDidMount() {
- this.interval = setInterval(() => this.tick(), 1000);
- }
- componentWillUnmount() {
- clearInterval(this.interval);
- }
- // Use the function and show seconds as a timer
- render() {
- return (
- <div>
- Seconds: {this.state.seconds}
- </div>
- );
- }
- }
- // Get timer output and place on the container
- root.render(<Timing />);
- </script>
- </body>
- </html>
Output:
The output shows the basic timer on the web page.

Basic Applications
We can construct a simple Todo app using properties and states. In this illustration, the state keeps track of the user’s entered text and the present set of items. The event handlers will be gathered and applied using event assignments.
Example:
The example shows the basic application with the function, class and elements. We can operate the to-do list and show the items on the list.
- <!DOCTYPE html>
- <html>
- <head>
- <script src = “https://unpkg.com/react@18/umd/react.development.js” crossorigin></script>
- <script src = “https://unpkg.com/react-dom@18/umd/react-dom.development.js” crossorigin></script>
- <script src = “https://unpkg.com/@babel/standalone/babel.min.js”></script>
- <script src = “https://unpkg.com/react@18/umd/react.production.min.js” crossorigin></script>
- <script src = “https://unpkg.com/react-dom@18/umd/react-dom.production.min.js” crossorigin></script>
- </head>
- <body style=”background:aqua;”>
- <b> React Getting Started with TO DO List </b>
- <div id = “mydiv”></div>
- <script type = “text/babel”>
- const container = document.getElementById(‘mydiv’);
- const root = ReactDOM.createRoot(container);
- class TodoApp extends React.Component {
- constructor(props) {
- super(props);
- this.state = { items: [], text: ” };
- thisthis.handleChange = this.handleChange.bind(this);
- thisthis.handleSubmit = this.handleSubmit.bind(this);
- }
- //Show the web page with the form and information
- render() {
- return (
- <div>
- <h3>TO-DO List</h3>
- <TodoList items={this.state.items} />
- <form onSubmit={this.handleSubmit}>
- <label htmlFor=”new-todo”>
- </label>
- <input
- id=”new-todo”
- onChange={this.handleChange}
- value={this.state.text}
- />
- <button>
- Add {this.state.items.length + 1}
- </button>
- </form>
- </div>
- );
- }
- handleChange(e) {
- this.setState({ text: e.target.value });
- }
- handleSubmit(e) {
- e.preventDefault();
- if (this.state.text.length === 0) {
- return;
- }
- // Shows the new item with the button onclick button
- const newItem = {
- text: this.state.text,
- id: Date.now()
- };
- this.setState(state => ({
- items: state.items.concat(newItem),
- text: ”
- }));
- }
- }
- //Use class with the component
- class TodoList extends React.Component {
- render() {
- return (
- <ul>
- {this.props.items.map(item => (
- <li key={item.id}>{item.text}</li>
- ))}
- </ul>
- );
- }
- }
- // Get the list’s item as an output for the container
- root.render(<TodoApp />);
- </script>
- </body>
- </html>
Output:
The output shows the do list’s items on the web page.

A Function with External Plugins
You can interact with different libraries and frameworks using React. This example converts the value of the textarea> in real time using amazing, an external Markdown library.
Example:
The example shows the basic application with the external plugin. We can operate the form value using function, class and elements. We can handle user interactive data using react and jxs.
- <!DOCTYPE html>
- <html>
- <head>
- <script src = “https://unpkg.com/react@18/umd/react.development.js” crossorigin></script>
- <script src = “https://unpkg.com/react-dom@18/umd/react-dom.development.js” crossorigin></script>
- <script src = “https://unpkg.com/@babel/standalone/babel.min.js”></script>
- <script src = “https://unpkg.com/react@18/umd/react.production.min.js” crossorigin></script>
- <script src = “https://unpkg.com/react-dom@18/umd/react-dom.production.min.js” crossorigin></script>
- </head>
- <body style=”background:aqua;”>
- <b> React Getting Started with The External Component </b>
- <div id = “mydiv”></div>
- <script type = “text/babel”>
- const container = document.getElementById(‘mydiv’);
- const root = ReactDOM.createRoot(container);
- class TodoApp extends React.Component {
- constructor(props) {
- super(props);
- this.state = { items: [], text: ” };
- thisthis.handleChange = this.handleChange.bind(this);
- thisthis.handleSubmit = this.handleSubmit.bind(this);
- }
- //Show the web page with the form and information
- render() {
- return (
- <div>
- <h3>User Information </h3>
- <TodoList items={this.state.items} />
- <form onSubmit={this.handleSubmit}>
- <label htmlFor=”new-todo”>
- </label>
- <textarea id=”new-todo”
- onChange={this.handleChange}
- value={this.state.text}></textarea>
- <p>
- </p>
- <button>
- Add
- </button>
- </form>
- </div>
- );
- }
- handleChange(e) {
- this.setState({ text: e.target.value });
- }
- handleSubmit(e) {
- e.preventDefault();
- if (this.state.text.length === 0) {
- return;
- }
- // Shows the new item with the button onclick button
- const newItem = {
- text: this.state.text,
- id: Date.now()
- };
- this.setState(state => ({
- items: state.items.concat(newItem),
- text: ”
- }));
- }
- }
- //Use class with the component
- class TodoList extends React.Component {
- render() {
- return (
- <b>
- {this.props.items.map(item => (
- <p key={item.id}>{item.text}</p>
- ))}
- </b>
- );
- }
- }
- // Get the list’s item as an output for the container
- root.render(<TodoApp />);
- </script>
- </body>
- </html>
Output:
The output shows the form’s information on the web page.

Conclusion
The react with html page helps to operate and handle data and web pages. It is easy, simple and fast for the functionality.