Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions foundations/html_css/flexbox/project-landing-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,4 @@ Don't forget to commit early & often! You can [reference the Commit Message less

### Viewing your project on the web

If you want to show your work (the project) to others, or submit a solution below, you will need to publish your site so that others can access it from the web, rather than just on your local machine. The good news is that if you have your project on GitHub (as described above), then doing this is straightforward.

GitHub allows you to publish web projects directly from a GitHub repository. Doing this will allow you to access your project from `your-github-username.github.io/your-github-repo-name`

There are a couple of ways to go about publishing your project, but the simplest is the following:

- Make sure that the main HTML file of your project is called `index.html`. If it is not, you need to rename it.
- Go to your GitHub repo on the web and click the **Settings** button as shown in the screenshot below.
![Screenshot pointing to the Settings located in an example repository](https://cdn.statically.io/gh/TheOdinProject/curriculum/81a5d553f4073e593d23a6ab00d50eef8620796d/foundations/html_css/project/imgs/03.png)
- Click on **Pages** on the left side bar.
- Change the **Branch** from `None` to `main` and click Save.
- It may take a few minutes (the GitHub website says up to 10), but your project should be accessible over the web from `your-github-username.github.io/your-github-repo-name` (obviously substituting your own details in the link).
To share your website with others, you'll need to **deploy it using GitHub Pages**. The full instructions for this process can be found in the [Recipes project](https://www.theodinproject.com/lessons/foundations-recipes#viewing-your-project-on-the-web) lesson.