rem’s avatarrem’s Twitter Archive—№ 70,129

  1. DOM scripting vs. innerHTML - same result, and I'd argue innerHTML is easier to read. (turns $ in code examples into a styled and unselectable prompt - ala remysharp.com/2017/03/27/dollar-in-code-examples )
    oh my god twitter doesn’t include alt text from images in their APIoh my god twitter doesn’t include alt text from images in their API
    1. …in reply to @rem
      of course you can spot the edge case bug right? Gahhh, damnit. I hate when I test my code so thoroughly. I'd sometimes rather not know (/me heads back to drawing board)
      1. …in reply to @rem
        Happily take tweets pointing out the error with sample source (to trip the code up). It's a useful thing to remember when playing with innerHTML