clubmate.fi

A good[ish] website

Web development blog, loads of UI and JavaScript topics

JavaScript iterators tutorial with examples | introduction to the iterable object

What’s an iterable object anyway? What does it meant to "implement the iterator protocol", and how to build a custom iterator. Iterators in…

Accessible and modern React icon component

Juicy and versatile React component that handles icons and icon links, satisfying all the accessibility requirements on the way. 100 percent…

How to handle icons in a React in 2021 | The technological singularity

How did we reach the icon singularity? What are the best ways to handle SVG icons in a modern React project, and how to effortlessly minify…

Strip all styling from a button and make it look like text

Sometimes you want to use a button, but not to have it look like a button. This post looks into that: how to unstyle the default HTML button…

Visually hidden text, only visible to screen readers

This article looks into content that is visually hidden, but visible to people using assistive technologies, like screen readers. Screen…

Alacritty, the nihilist terminal setup

Alacritty is a suckless terminal emulator written in Rust, it’s extremely fast and very simple. Here’s how to install and configure it. What…

How to disable Gatsby telemetry

Telemetry is a clean sounding euphemism for tracking. Gatsby gives you a notice when you first start it: Gatsby collects anonymous usage…

Doing more complex conditional logic, getting more than two different values

Here’s how to get stuff with JavaScript. This is kind of basic but, boolean logic can handle two values: true and false , or... potato or…

Position sticky in CSS, with examples

Before position: sticky , we had to finesse around with scroll listeners and bounding box measurements, ugh. But position sticky works…

Sticky footer done with simple CSS

Here’s how to do a sticky footer the right way™ Make the footer stuck to the bottom of the page, no matter how little content the page has…

  • © 2021 Antti Hiljá
  • About
  • Follow me in Twatter → @hiljaa
  • All rights reserved yadda yadda.
  • I can put just about anything here, no one reads the footer anyways.
  • I love u!