Small, native web tricks worth remembering

(htmlcat.net)

24 points | by marcomezzavilla 1 hour ago

4 comments

  • moontear 22 minutes ago
    There are some good descriptions and hints, but what the site really needs is examples. Just looking at the code doesn't help me much. The descriptions are also mostly so short, that they could just as well be tooltips on the homepage. The whole premise of the page is a collection of "web tricks worth remembering" and I can't fathom what bash (e.g. `du -hd 1 . | sort -hr`) is doing there.
    • marcomezzavilla 13 minutes ago
      You’re absolutely right, thanks for the feedback. I initially included live examples (mostly through CodePen), but they were taking too much time to maintain, so I stopped.

      The Bash entry was really just a half-finished personal note that I never properly edited. It’s probably out of scope too.

  • hk__2 12 minutes ago
    > Each post-it pairs one useful platform feature with a small example

    I can’t find a single example; each post-it just shows some code but not the result of it.

  • OuterVale 36 minutes ago
    They're not really 'tricks' as much of mentions of assorted features of HTML and CSS. You get to discover a similar assortment of things (with much more immediately available detail and many examples) just clicking around MDN.
    • marcomezzavilla 31 minutes ago
      That’s fair, "tricks" may be overselling it. The website is meant to be a small, opinionated collection of features I want to remember, not a replacement for an authoritative reference like MDN. I can probably make that positioning clearer.
  • apples_oranges 10 minutes ago
    please don't hide scrollbars :)