From 1bd55c535b58432edaf1a373a72db6d1fb91c0c5 Mon Sep 17 00:00:00 2001 From: Hamburger-coder Date: Sat, 16 Aug 2025 17:44:03 -0400 Subject: [PATCH 1/2] feat(foundations): condense deployment instructions in landing page project with option to visit recipes project for full instructions --- .../html_css/flexbox/project-landing-page.md | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/foundations/html_css/flexbox/project-landing-page.md b/foundations/html_css/flexbox/project-landing-page.md index 1dc89e9eb08..ce5c5d03158 100644 --- a/foundations/html_css/flexbox/project-landing-page.md +++ b/foundations/html_css/flexbox/project-landing-page.md @@ -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. From e202d8100db9a775e92a9f3b58488d60172ad13b Mon Sep 17 00:00:00 2001 From: JoelM <82403870+joelmast@users.noreply.github.com> Date: Wed, 20 Aug 2025 09:40:02 -0400 Subject: [PATCH 2/2] Fix formatting error --- foundations/html_css/flexbox/project-landing-page.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foundations/html_css/flexbox/project-landing-page.md b/foundations/html_css/flexbox/project-landing-page.md index ce5c5d03158..1d2b7df7696 100644 --- a/foundations/html_css/flexbox/project-landing-page.md +++ b/foundations/html_css/flexbox/project-landing-page.md @@ -42,4 +42,4 @@ Don't forget to commit early & often! You can [reference the Commit Message less ### Viewing your project on the web -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. +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.