Search
Promise.allSettled
3.8.2020
The Promise object has many useful functions like all, resolve, reject, and race — stuff we use all the time. One function that many don’t know about is Promise.allSettled, a function that fires when all promises in an array are settled, regardless of whether any of the promises...
The GitHub Profile Trick
28.7.2020
Monica Powell shared a really cool trick the other day:
The profile README is created by creating a new repository that’s the same name as your username. For example, my GitHub username is m0nica so I created a new repository with the name m0nica.
Now the README.md from that repo is essentially...
John McAfee: ‘Intel is Suing Me Over My Own Name’
23.7.2020
The creator of the software company behind anti-virus program McAfee alleges Intel is suing him over the use of his own name
Using Flexbox and text ellipsis together
22.7.2020
You can truncate a single line of text with an ellipsis (…) fairly easily with text-overflow and a few friends. But, as you might expect, that truncation happens at the end of the line of text. What if you want to truncate content in the middle?
Leonardo Faria details good use cases for this...
Tips for Starting with Bitcoin and Cryptocurrencies
21.7.2020
One of the most rewarding experiences of my life, both financially and logically, has been buying and managing cryptocurrencies like Bitcoin, Litecoin, Ethereum. Like learning any other new tech, I made rookie mistakes along the way, but learned some best practices along the way. Check out these...
Binding Arguments with Bind
20.7.2020
One of my favorite and most essential Function method is bind, a function we added to MooTools when it wasn’t featured in the JavaScript language itself. We often think of using bind to simply bind a method’s call to its host object, but did you know you can also bind arguments with...
5 Most Common Developer Portfolio Mistakes (Sponsored)
20.7.2020
A portfolio site is one of the best marketing and sales tools you as a web developer have in your arsenal. And if it’s set up right, it’ll save you a bunch of time having to:  Chase down new clients,  Spend time convincing them to work with you, Answer questions about your experience as...
Develop, Preview, Test
17.7.2020
Guillermo:
I want to make the case that prioritizing end-to-end (E2E) testing for the critical parts of your app will reduce risk and give you the best return. Further, I’ll show how you can adopt this methodology in mere minutes.
His test is:
Spin up Puppeteer (Headless Chrome)...
FBI Report on Laundering by Private Funds Cites OneCoin Fraud in All but Name
15.7.2020
OneCoin, an infamous crypto fraud, makes an uncredited cameo in a leaked FBI intelligence bulletin on the money laundering risks of investment funds
Lazy Load IFRAMEs
13.7.2020
We’ve known for a decade that lazy loading resources like JavaScript, CSS, and especially images is a massive performance win for web pages. At first we used tricks and JavaScript to do the lazy loading, but more recently native image lazy loading has debuted in browsers. Did you know that...
Easy Stock Market Quotes with marketstack (Sponsored)
12.7.2020
The stock market is wild right now, at least in the United States. Between pandemic, political events, and everything else going on, the stock market is one swing after another. There are a host of services that give you stock quotes but I don’t trust them; I feel like they delay information...
Automatically Rebase GitHub Pull Requests
10.7.2020
Working on an open source project with a thriving contribution community is one of the great joys I have at Mozilla. In leading this charge, I get to meet amazing people of all different skill sets and interests, as well as different points of view. In the end I receive hundreds of pull requests...
Get Worldwide Postal Code Data with Zip Code API (Sponsored)
6.7.2020
Accurate shipping and location information is well worth the price you need to pay for it. You can sell that information, you can target consumers to perfection, and save yourself loads of frustration when it comes to shipping. Creating your own location API isn’t worth the time — there...
JavaScript in SVGs
30.6.2020
SVGs are such an amazing tool for creating custom fonts, animations, size-reduced graphics, and more. They’re part HTML, part image, and all awesome. Many websites have moved toward SVG instead of JPG, GIF, and PNG due to the flexibility that SVG provides. Whats one example of that...
Book: The Greatest CSS Tricks Vol. I
29.6.2020
Ya know, for a site called “CSS-Tricks” that I’ve run for well over a decade, it’s a little funny we’ve never done a book under that name. I’ve written a book about WordPress and SVG, but never CSS!
Well, allow me to change that. I’ve been working on...
Some Typography Links
25.6.2020
I just can’t stop opening excellent typography-related articles, which means I need to subject you to blog posts that round them up so I can clean up my open tabs.
Vistaserve is “a grass-roots web hosting initiative hailing from Thornbury, Australia. Inspired by the quirky web of...
Not Just a Pretty Name: Blockchain Creating Real Value in Traditional Industries
24.6.2020
Blockchain technology is transitioning from a conceptual tool that powered the ICO boom into a value-adding service for mainstream industries
CSS background-repeat: round
23.6.2020
The CSS spec is full of gems that sneak their way past most of us web designers and developers. Stuff like :focus-within, prefers-reduced-motion, and prefers-color-scheme suddenly make their way into CSS without us really finding out for months or years. One such example is background-repeat:...
Bitcoin Name and Logo Registered With Spanish Patent and Trademark Office
23.6.2020
Acting through a lawyer, an anonymous person has protected the word ‘bitcoin’ at the national level
Elon Musk Bitcoin Giveaway Scam Rakes in Millions of Dollars in BTC
21.6.2020
‘Elon Musk’ bitcoin giveaways continue to scam people on Youtube. Scammers have reportedly pulled in millions of dollars in bitcoin from people wanting to double their cryptocurrency. Some of them use bitcoin addresses containing the name Elon Musk, Spacex, or Telsa. Before sending...