FAQ: Deploy Your Website to GitHub Pages - Initialize Your Repo


#1

This community-built FAQ covers the “Initialize Your Repo” 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 Initialize Your Repo

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!


#2

where do you find a websites directory on github pages


#3

Hello,

I don’t understand how to use the “cd” command to navigate to my site’s directory. :pensive:


#4

For example you have a directory:

Desktop:
     Images:
          Cloudes.png
          Shadows.jpg
     Videos:
          Funny:
              Skatboarding-fail
          Sad:
              Cat's funeral
     Programmes:
          HTML.html
          JS.js
          CSS.css

Okay so you are in images folder,
You can go back using cd ..
Then you want to go to funny folder inside videos so you can do this in one command: cd Videos/Funny
Or you can do it in two commands: cd Videos (On a new line)
cd Funny

You could do it in one command cd ../Videos/Funny
And if like you are in Sad folder inside videos and you want to get to the Desktop: cd ../.. firstly it backs to videos folder then to the desktop folder
Hope this helps to understand the cd command :grinning:


#5

Thank you very much for your help ! Now I can peacefully continue my exercise :sob:


#6

Hi, I want to create my website from scratch instead of using Jekyll. How do I use GitHub in this scenario?

I already have all my codes?