Sunday, July 10, 2016
Where to put the javascript?
Unless itโs essential for it to be in the head of the HTML document, place all javascript just before the closing body tag of a page.
Whatโs essential for the head?
That can vary from project to project but a rule of thumb w...
Tuesday, June 14, 2016
This is my documentation for a new project. Iโm writing it here rather than inside a repository so that it can exist across multiple projects. This will eventually be duplicated on to a markdown document for posterity!
Project structure
As the project is...
Friday, February 19, 2016
A few weeks ago I decided to make an iOS game. Iโve toyed with the idea for a long time, and tried a few times, but never actually made something that was fun enough and worked properly โ consequently, Iโve never actually made a game from start to finish. ...
Tuesday, February 9, 2016
Turning any project in to a Version controlled project is really simple and should be one of the first steps in any project workflow. By the time you realise that you need a version controlled file, itโs usually too late โ whether you have accidentally ove...
Wednesday, December 16, 2015
There are a few ways of writing css. For consistency, we will adopt only one naming convention. This is lowercase and hyphen separated. It is the most readable and fits well with other CSS methodologies that are covered below.
Yes
No
Specificity
Keep y...
Saturday, May 2, 2015
When you are developing on WordPress sites it's always quicker to work on a local machine/development server. It's essential to work from the same data as the live site so you can work effectively as possible so taking a copy of the live database and insta...
Sunday, March 8, 2015
This is a simple timer, using Swift....
Sunday, November 3, 2013
calc() is a modern css function that allows you to do basic maths in a css file. You can use it to make semi fluid layouts with great ease. This means that you can have layouts with 1 fixed width column (or more) and the rest fluid. It doesn't just stop at...
Friday, June 7, 2013
Since I wrote my last post on creating a Chrome extension , there have been a few changes to how the extensions are built - mainly that the manifest version has changed to version 2. The original post is still fine, but there are a few tweaks needed. This ...
Friday, November 16, 2012
I've been looking for a good solution for Arabic web fonts for while now and have been hitting my head against the wall with the lack of options available to me or the cost of buying a font and hosting it myself.
Just as I was contemplating making my own ...