John Dahl (@interactivejohn) profile picture

Software Development Engineer - Cloud Services, UI, ADA

Dallas, TX
Joined April 2009
Photo by John Dahl (@interactivejohn)Photo by John Dahl (@interactivejohn)Photo by John Dahl (@interactivejohn)Photo by John Dahl (@interactivejohn)Photo by John Dahl (@interactivejohn)
John Dahl retweeted
Include this #CSS rule in your styles and ensure every image tag includes an #alt attribute or things will look pretty dark for you 😉
35
625
65
1,979
Drugs ranked by how addictive they are: 5. Caffeine 4. Alcohol 3. Nicotine 2. Heroin 1. Computers
33
90
19
389
John Dahl retweeted
It's my birthday! 🎊 Today marks 5 years since React was open sourced. 🎂 Feeling grateful to have had a chance to help change UI development.
145
2,177
307
7,810
💁‍♀️ Cost of updating text in the DOM ⬛️⬛️⬛️⬛️⬛️⬛️ .innerHTML ⬛️⬛️⬛️⬜️⬜️⬜️ .textContent ⬛️⬛️⬜️⬜️⬜️⬜️ .innerText ⬛️⬜️⬜️⬜️⬜️⬜️ .firstChild.data - Use innerText if you can't assume structure - Use Text#data to update existing text
28
546
14
1,680
When requesting changes to a PR on GitHub, I wish the visual tone was slightly more empathetic than a MASSIVE RED X. Basically makes me avoid the feature.
24
61
17
393
And here's an entire .gLTF scene loaded into the DOM via <x-model> and rendered in stereo using CSS VR. (Scene credit: sketchfab.com/MaksimReviuk)
1
1
I reported a Chrome CSS bug this morning and there’s already a patch for it: bugs.chromium.org/p/chromium…
1
1
3
Love this: a periodical table of design thinking.
1
13
5
22
John Dahl retweeted
"Do’s and Don’ts of Web Design" by @101babich 👉 uxplanet.org/dos-and-don-ts-…
2
6
John Dahl retweeted
Research shows that building up followers on Facebook isn't enough to boost a brand’s sales—but targeting followers with paid ads works.
7
36
7
170
Looks like WordPress just “officially” reached 28.0% marketshare, 59% of all CMS marketshare - if you go by @W3Techs w3techs.com/technologies/det…
John Dahl retweeted
Fructose, commonly found in soda and candy, is converted to fat more quickly than any other type of sugar.
2
84
7
208
I use this color palette generator all the time: buff.ly/2q0wWLv
1
5
Grapefruit, watermelon, berries, celery, greek yogurt, eggs, fish, coffee and oatmeal are all fat-burning foods.
9
307
23
961
Yes, yes, yes, let's all do this right now buff.ly/2pNfmgh
John Dahl retweeted
Research shows that late sleepers eat fewer vegetables and more fast food, and are less physically active than early risers.
15
95
33
395
John Dahl retweeted
A genetic variant causes cilantro to taste like soap for about 10% of the population.
19
123
78
466
OK, so a long-term study has officially confirmed it: The more you use Facebook, the worse you feel. buff.ly/2pZsETi
Lack of exercise kills just as many people as smoking.
11
357
42
814
12% of all people who ever lived are alive today.
11
138
15
476