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
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
- Codebar (CC BY-NC-SA 4.0)
- Rails Girls (CC BY-SA 3.0)
- Django Girls (CC BY-SA 4.0)
- Node Girls (MIT License)