Follow these steps to set up your project successfully.

1. Fork the Project

To create your own copy of the project repository:

  1. Go to the following link: https://github.com/TheGymRwanda/intro-to-web-development.

  2. Click the Fork button in the upper right corner of the page.

2. Set Up GitHub Pages

To enable GitHub Pages for your repository:

  1. Navigate to SettingsPages.

  2. In the Source section, select Deploy from a branch.

  3. Choose the main branch as the source.

  4. Click Save.

3. Run the Project in Codespaces

To run the project using GitHub Codespaces:

  1. In the Code section of your repository, click the Code button.

  2. Navigate to the Codespaces tab.

  3. Click Create codespace on main.

  4. Once created, your view should look like the following image:

4. Preview the Project

To preview your project in the browser:

  1. In the Codespaces terminal, run the following command:

    npx http-server