Daily Shaarli

All links of one day in a single page.
An HTML element id is a global variable
thumbnail

Little relatively unknown fact, if you have an id attribute on an element, you can reference it in this way:

<button id="yo">…</button>
yo.onclick = ...

Furthermore, child elements with a name attribute can be referenced in this way:

<form id="x"> 
  <input name="em"> 
</form>
x.em.onclick = ...
How I build a button component - Piccalilli
thumbnail

A button is arguably the most likely component to find itself in your codebase so I’m going to show you how I approach building one.

Styling Tables the Modern CSS Way - Piccalilli
thumbnail

Modern CSS makes styling HTML tables in a considered, responsive nature a breeze. Michelle Barker breaks it all down for you in this deep dive.