index.html

html5 kB116 linesIn Tutorial.zip

Tutorial.zipindex.html

HTML
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>React Tutorial - W3Schools</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="container">
        <header>
            <h1>⚛️ React Tutorial</h1>
            <p>Complete Guide from W3Schools - Interactive Learning</p>
        </header>

        <div class="content">
            <h2>Welcome to React!</h2>
            <p>This interactive tutorial will guide you through all the essential concepts of React, from basics to advanced topics. Use the navigation buttons to move between sections.</p>

            <div class="info-box">
                <strong>📚 Learning Path:</strong> Start from the beginning and work your way through each section. Each page includes code examples and explanations.
            </div>

            <h2>Table of Contents</h2>
            
            <div class="toc">
                <a href="01-introduction.html" class="toc-item">
                    <h3>1. Introduction to React</h3>
                    <p>What is React, why use it, and how it works with the Virtual DOM</p>
                </a>

                <a href="02-getting-started.html" class="toc-item">
                    <h3>2. Getting Started</h3>
                    <p>Installation, setup, and creating your first React application</p>
                </a>

                <a href="03-jsx.html" class="toc-item">
                    <h3>3. React JSX</h3>
                    <p>Learn JSX syntax, expressions, and how to write HTML in JavaScript</p>
                </a>

                <a href="04-components.html" class="toc-item">
                    <h3>4. React Components</h3>
                    <p>Function and class components, nesting, and component files</p>
                </a>

                <a href="05-props.html" class="toc-item">
                    <h3>5. React Props</h3>
                    <p>Passing data between components using props</p>
                </a>

                <a href="06-state.html" class="toc-item">
                    <h3>6. React State</h3>
                    <p>Managing component state in function and class components</p>
                </a>

                <a href="07-hooks.html" class="toc-item">
                    <h3>7. React Hooks</h3>
                    <p>useState Hook and managing multiple state variables</p>
                </a>

                <a href="08-events.html" class="toc-item">
                    <h3>8. React Events</h3>
                    <p>Handling user interactions and passing arguments to event handlers</p>
                </a>

                <a href="09-forms.html" class="toc-item">
                    <h3>9. React Forms</h3>
                    <p>Controlled components, form submission, and multiple input fields</p>
                </a>

                <a href="10-router.html" class="toc-item">
                    <h3>10. React Router</h3>
                    <p>Navigation and routing in React applications</p>
                </a>

                <a href="11-styling.html" class="toc-item">
                    <h3>11. React CSS Styling</h3>
                    <p>Different ways to style React components</p>
                </a>

                <a href="12-useeffect.html" class="toc-item">
                    <h3>12. useEffect Hook</h3>
                    <p>Side effects, dependencies, and cleanup functions</p>
                </a>

                <a href="13-usecontext.html" class="toc-item">
                    <h3>13. useContext Hook</h3>
                    <p>Managing global state without prop drilling</p>
                </a>

                <a href="14-useref.html" class="toc-item">
                    <h3>14. useRef Hook</h3>
                    <p>Persisting values and accessing DOM elements</p>
                </a>

                <a href="15-custom-hooks.html" class="toc-item">
                    <h3>15. Custom Hooks</h3>
                    <p>Creating reusable custom hooks for shared logic</p>
                </a>
            </div>

            <div class="success-box" style="margin-top: 40px;">
                <strong>✨ Ready to Start?</strong> Click on any topic above to begin your React journey, or start from the beginning with Introduction to React!
            </div>
        </div>

        <div class="navigation">
            <div></div>
            <a href="index.html" class="home-button">🏠 Home</a>
            <a href="01-introduction.html" class="nav-button">Next: Introduction →</a>
        </div>
    </div>
</body>
</html>

In Tutorial.zip