Creating a JSONP Function

When dealing with APIs, JSONP is all the rage these days. There is a number of reasons as to why this specification reached such popularity, but there's also a lot of uncertainity when it comes to actually using it. Most people would be all like 'Ugh, JSONP is easy, just use jQuery!' But as usual, 'just use jQuery' is not an acceptable answer for everyone.

Read more »

Syntax Highlighting in Jekyll With Rouge

Many blogs on the web are centred around code so syntax highlighting in code blocks is useful to help readers better understand the displayed code. Jekyll offers easy ways to integrate highlighting into the build chain, for example using Rouge.

Read more »

Using Data Attributes to Write CSS Components

With BEM, SMACSS, OOCSS and other methodologies for CSS architecture there's been a lot of debating around which method is better than the others. AMCSS is a new contender for the throne and in this post I will outline how I'm using it to write CSS components.

Read more »