FAQ: Deploy Your Website to GitHub Pages - Create A GitHub Account

This community-built FAQ covers the “Create A GitHub Account” exercise from the lesson “Deploy Your Website to GitHub Pages”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Deploy a Website

FAQs on the exercise Create A GitHub Account

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply (reply) below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

Hello,
I followed the exercise exactly but when I try to view my website at https://username.github.io (using my username I get a 404 error.
I must be doing some sort of basic mistake< did anyone have the same problem and solved it?

You can follow this youtube video to get a better visual for the steps. It should work. The only difference now is that the word “master” in Github has been changed to “main”:

However, I ran into another problem. My other projects will not deploy to pages. Only this first project. I have no idea why.

I’m running into a similar problem. I think the codecademy tutorial is out of date, can anyone confirm?

1 Like

Same problem here. Solution: after I chose a theme my page was published as intended.
Within the codecademy tutorial check out the troubleshoot section and make sure you follow both steps (i.e. choose source and theme).

I cannot seem to figure out how to add the theme. Can you help?

Hi there. I have been trying to publish my locally developed websites on github pages for a while and although websites are in fact live, it always leads me to the readme file instead of rendering the actual website content. Can anyone guide me where am I going wrong?

Hi. Does it usually take a few minutes for it to be published online?

Yes! make sure your repository is “public” and that you set up the “root” folder on the pages section of your repository settings.
Here is mine if you want to check it out https://ng-rgb.github.io/ng-rgb/

The mistake I was committing was not naming the file “index.html” in the part where it asks you to name the file after username.github.io

I know nothing about GitHub so these are the steps that helped me.

  1. Make sure the source was set to “main” (it was “none” to start)
  2. go into a different settings window under “About” to set the website URL:

image

I couldn’t find the Theme Chooser that the tutorial mentioned, seems it’s now set using Jekyll, so the screenshot on the tutorial doesn’t match anymore