Matthew Adams's Blog

Bootstrap 3 At A Glance – Part One – Motivations

by Matthew Adams

In August 2013, Version 3 of the Bootstrap framework was released. The first version, developed by Mark Otto and Jacob Thornton at Twitter in 2011, was a pure CSS library. It was designed to provide a solid foundation for the most common user interface tasks that front-end developers faced every day, including grids and page […]


We’ve come a long way in the first ten instalments of our series. We’ve learned a bit about computer architecture – all the way up from the transistors that form the physical basis of modern digital computers, to more abstract concepts like data memory, instructions and I/O. We’ve looked at how we can encode information […]


We left off with a couple of exercises last time. Exercise 1: Remember the exercises in our first introduction to algorithms? Can you implement functions in F# for the sum of an arithmetic series and the sum of a geometric series? Remember that this is the formula for an arithmetic series: where is the difference […]


Last time, we saw how to define a function in F#. We’re going to build on that this time, so it might be a good idea to go over the key points: 1) A function takes exactly one input (parameter) and produces one output (result). We can write this as 2) We can bind a […]


In the last section we took a first look at logic, and started to build up some quite complex expressions. We noted that it would be useful if we could somehow bind those expressions to a shorthand so that we didn’t have to keep typing them all out every time we wanted to use them […]


Example of a full-width bleed using Bootstrap

by Matthew Adams

In my previous post, I listed some top tips for getting started with bootstrap, and then produced a basic example layout with box-outs, sidebars and bleeds. One of the most common questions that has come from that post is “how do I achieve a section with a full-width bleed (e.g. for a full-width background), part […]


We’ve already seen conditional statements like “if this statement is true then…” and “while this statement is true, do…” In this section, we’re going to look inside these kinds of statements, and focus on the bit that is just about truth and falsity. As usual, the approach will be to learn how to refine a […]


In this section we’re going to look at the Data Memory in more detail. So far, we’ve assumed we know what “store 1 in the memory location at offset 4″ means. If we’ve told it to store 1 at offset 4, when we read back the value at offset 4, we get 1 as expected. […]


We have an Angular.JS application which is also using Bootstrap for its layout, and we’ve come across an irritating layout bug on IE7 (for which the client still has a requirement – albeit with a “please upgrade your browser if you can” notice). Supporting IE7 with any modern web framework is a bit of a […]


In the last section, we set a couple of problems, and asked you to devise a program to come up with the answer. A. Write a program to add up the integers from 1 to 10, and put the result in to the memory location at offset zero. B. Alter the program to add up […]


1 2 3 5