GitHub is a place for storing code, collaborating on code, and keeping track of the entire iterative process. It is not designed for kids, but I have made use of a small sliver of its power with students in 7th grade and up.
GitHub stores code in
repositories, which are like a single folder for everything relating to a project. They can contain any kind of file- code, images, documents. If you have no idea what the heck version control is, I’d start here: GitHub from Scratch.
The most important part of GitHub, for our purposes, are
syncing. Every time you make a change to a file in a GitHub repository and save it, you can
commit that change,
pushing it to GitHub. It keeps track of each subsequent revision, and as long as you get in the habit of
committing your changes regularly, you can roll back any change. You can also get a nifty graph of all your coding, like this:
I use it for the same reason ¯\_(ツ)_/¯↩
Congratulations! You now have a website, located at username.GitHub.io. This website that you're looking at right now? It's located at bensk.GitHub.io. I bought the domain "bsk.education," but I could have used the .GitHub.io one just fine.
By the way, you're going to be building one of these (websites) by the end of today.
In order to turn your repository into a website, we are going to clone it to our computer.
You can save the folder wherever you want.
index.htmlat the top level. This will be the homepage of your site. Create
style.cssin a folder called css.