Skip to content

alphagov/learn-to-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learn to Code

Government Digital Service is a diverse organisation, with lots of people with lots of different skills. Some people who work at GDS are professional software engineers, but many have never written any code.

This repo contains tutorials that are intended to take an absolute beginner through the basics of writing code.

Status

👩‍💻 Under active development 👨‍💻

Following a successful ✈️ pilot ✈️ of three 1 hour sessions in the first quarter of 2019, we have continued developing these sessions based on feedback from students and retrospectives with coaches.

The second iteration involved three 2 hour sessions in the third quarter of 2019.

The current format is four 2 hour sessions, which will run in the first quarter of 2020.

Rough plan

Since we've only got three sessions we're going to stick to the basics. Initially I'm thinking something like the following:

Introduction to HTML and CSS

In which we build and style a little webpage

Can maybe use design system so it feels like more of an achievement?

Introduction to the command line and ruby

Introduce using the terminal and ruby

irb for testing ruby expressions

Writing Ruby scripts

ruby blah.rb will run scripts

More advanced Ruby functionality

Introduction to HTTP and running code on the web

little webrick server that serves HTML / CSS etc. Webrick is nice because we can do it without installing any dependencies.

Can build a form that takes input and does the same thing as the previous exercise.

Out of scope

  • git
  • any terminal things beyond the essential (ls, cd, irb, ruby)?

Influences