June 1, 2018
March 27, 2018
In a previous article, we looked at how to get data into and out of components using the @Input and @Output annotations. In this article, we’ll look at another fundamental aspect of Angular 2 components — their ability to use “providers.”
You may have seen “providers” in a list of properties you can use to ...
November 25, 2016
Last time, we saw how the average web page looks like using data from about 8 million websites. That’s a lot of data, and we’ve been continuing to sift through it. We’re back again this time to showcase some random and hopefully interesting facts on markup usage.
Hiding DOM elements
There are various...
May 20, 2016
Love me some blog debates! Papa Bear, Mama Bear, Baby Bear.
Direct Link to Article — Permalink
(To use or not-to-use) Classes is a post from CSS-Tricks
March 4, 2016
There are two kinds of HTML:
HTML that makes up templates
HTML that is content
I feel like some discussions about HTML are clouded by not making this distinction.
For example, I like Harry Roberts approach to classes on header elements. Harry was talking about “apps”, so perhaps it was implied, but let...
January 19, 2016
Often we need to represent an idea or concept in our programs — maybe a car engine, a computer file, a router, or a temperature reading. Representing these concepts directly in code comes in two parts: data to represent the state, and functions to represent the behavior. ES6 classes give us a convenient syntax for de...