Contents

Next lesson

The basics

  1. Set up a simple web site on GitHub.
    • Some basic instructions here. Make a note of the web link it generates as you will need it later.
    • There are other reasons for having a GitHub account later but for now it is a good way to play around with things and see how they work. I’ve used it for hackathons e.g. this one and people who don’t have a lot of money, like a small charity, might not need anything more than this.
  2. Learn some basic HTML. Go to: w3schools and do the first few pages (to Attributes).
    • Everything on the web uses HTML. You can use it with GitHub Pages, Wordpress and pretty much everything.
  3. Find the Google Developer tools
    • Go and look at any old website in Google Chrome. Right mouse click on something on the page and choose the "inspect" item. This opens up Developer tools and shows you the HTML (and other stuff) which makes the website.
    • Make a list of things you like and copy the bits of HTML from the developer tools window.
  4. Make your first website.
    • Create an HTML page as you learnt in step 2.
    • Keep the parts between the <body> and </body> tags but delete the rest as github will generate that for you.
    • Add these three lines at the top (don't worry why right now)
      ---
      layout: default
      ---
      
    • Save it as "index.html" and upload it to the github repository you made in step 1.
    • Git hub will rebuild your website and you can go and see it. If you didn't take a note of the link in step 1 you can find it again in the settings. It will probably be https://username.github.io/repository name/.
    • It might take a few minutes to work so wait a bit and refresh a few times to see your glorious creation
Next lesson