Blog

Modern JavaScript Today

JavaScript is a language that evolves at a break-neck pace. Within a few years we have gotten custom elements and ES6 modules. As a developer, it can sometimes be difficult to keep up. It can be even more difficult to write applications in a way that is both modern, future proof, and works on all or…

target="_blank"

A lot can be said about links that open in a new window or tab. Whether it is a good idea to do so or "best-practice" is not the scope of this article. What I would really like to discuss is what we can do in those cases where opening a link in a new window or tab, for whatever reason, is necessary…

Optimize Your Website

If you have ever used Google Chrome's Audit tool you've probably noticed that almost no matter what you do Audit will tell you that your CSS is blocking the rendering of your site. If you take a look at the report details Google recommends loading critical parts of your styling directly in the…

Single Page Application med ren JavaScript

React.js, Vue.js og Angular.js er alle tre meget populære biblioteker der bliver brugt til blandt andet at bygge Single Page Applications (SPAs). I dette indlæg vil jeg vise dig, hvordan du selv kan lave et lille bibliotek, der gør mange af de samme grundlæggende ting, som for eksempel Angular.js…

Dynamic Font Sizes

There are easy ways to use CSS to make a font-size adapt to the size of the screen it is rendered on. With this fluid font-size, your font is always 1% of the width of your viewport. This means that if you have a small screen your text is small. And on a big screen, the text is big. But, if you use…