1.Clone Code From Github

$ git clone -b "react-mini" --single-branch <https://github.com/safak/youtube2022.git>

2.Package install

$ cd youtube2022
$ yarn install
$ yarn start

3.View booking in the browser

Untitled

Untitled

4.Create Pages folder

src
│  App.js
│  index.js
│
└─pages
        Home.jsx
        Login.jsx
        Register.jsx

4.1 Login.jsx

// null

4.2 Register.jsx

import React from 'react'

const Register = () => {
    return (
        <div>Register</div>
    )
}

export default Register

4.3 Home.jsx

// null

5. Change the App.js

import Register from "./pages/Register";

function App() {
    return (
        <div>
            <Register/>
        </div>
    );
}

export default App;