Menu

HTML

Why Parcel Has Become My Go-To Bundler for Development

October 21st, 2019

Today we’re gonna talk about application bundlers — tools that simplify our lives as developers. At their core, bundlers pick your code from multiple files and put everything all together in one or more files in a logical order that is compiled and ready for use in a browser. Moreover, through different plugins and loaders,…

The `hidden` Attribute is Visibly Weak

October 16th, 2019

There is an HTML attribute that does exactly what you think it should do: <div>I’m visible</div> <div hidden>I’m hidden</div> It even has great browser support. Is it useful? Uhm. Maybe. Not really. Adam Laki likes the semantics of it: If we use the hidden attribute, we make our semantic a little better. Anybody will understand…

Workflow Considerations for Using an Image Management Service

October 16th, 2019

There are all these sites out there that want to help you with your images. They do things like optimize your images and help you serve them performantly. Here’s the type of service I mean. Cloudinary ImageEngine imgix Akami Image Manager KeyCDN Image Processing CloudImage ImageOptim API Sirv Netlify Image Transformation That’s a very good…

Two Images and an API: Everything We Need for Recoloring Products

October 11th, 2019

I recently found a solution to dynamically update the color of any product image. So with just one <img> of a product, we can colorize it in different ways to show different color options. We don’t even need any fancy SVG or CSS to get it done! We’ll be using an image editor (e.g. Photoshop…

The Teletype Text Element Lives On… at Least on This Site

October 11th, 2019

It was this: <tt> I say “was” because it’s deprecated. It may still “work” (like everybody’s favorite <marquee> in some browsers), but it could stop working anytime, they say. The whole purpose of it was to display text in a monospace font, like the way Teletype machines used to. Dave used it jokingly the other…

Images Are Not Static Content

October 10th, 2019

We constantly hear about the importance of keeping websites lean and fast. A fast-loading website makes users more satisfied, and satisfied users spend more time and money on your website. However, website optimization is a complex task, as there is no one silver bullet to fix all of the issues causing poor performance. We also…