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...
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...
Striking a Balance Between Native and Custom Select Elements
12.6.2020
Here’s the plan! We’re going to build a styled select element. Not just the outside, but the inside too. Total styling control. Plus we’re going to make it accessible. We’re not going to try to replicate everything that the browser does by default with a native <select> element. We’re going...
CoinMarketCap Launches Chat
11.6.2020
As you may or may not have noticed, CoinMarketCap released a long-awaited logins function for its website this week. UsersContinue Reading
The post CoinMarketCap Launches Chat appeared first on CoinMarketCap Blog
Building Your First Serverless Service With AWS Lambda Functions
29.5.2020
Many developers are at least marginally familiar with AWS Lambda functions. They’re reasonably straightforward to set up, but the vast AWS landscape can make it hard to see the big picture. With so many different pieces it can be daunting, and frustratingly hard to see how they fit seamlessly into...
No-Comma Color Functions in CSS
4.5.2020
There have been a couple of viral tweets about this lately, one from Adam Argyle and one from Mathias Bynes. This is a nice change that makes CSS a bit more clear. Before, every single color function actually needs two functions, one for transparency and one without, this eliminates that need...
Indicating Scroll Position on a Page With CSS
24.3.2020
Scrolling is something we all know and do on the web to the extent that it’s an expectation or perhaps even a habit, like brushing our teeth. That’s probably why we don’t put too much thought into designing the scrolling experience — it’s a well-known basic function. In fact, the popular “there...
A Complete Guide to calc() in CSS
17.3.2020
CSS has a special calc() function for doing basic math. Here's an example:
.main-content {
/* Subtract 80px from 100vh */
height: calc(100vh - 80px);
}
In this guide, let's cover just about everything there is to know about this very useful function.
calc() is for values
The only place you...
Ethereum Community Enthralled Over Controversial ProgPoW Proposal
10.3.2020
The Ethereum community has been debating a proposal called ProgPoW as many ETH proponents believe the Programmatic Proof-of-Work function will alter the network significantly. The contentious topic has seemed to galvanize the community, with the ProgPoW proposal favored by a significant proportion...
Currying in CSS
6.3.2020
Funny timing on this I was just looking at the website for Utopia (which is a responsive type project which I hate to admit I don't fully understand) and I came across some CSS they show off that looked like this:
:root {
--fluid-max-negative: (1 / var(--fluid-max-ratio)...
HTC Unveils Privacy Protecting 5G Router, Pundi X Finalizes Blockchain Phone Prototype
6.3.2020
Product announcements in the mobile and internet communications sector have indicated that cryptocurrency-related features are going to become more common. A 5G router with a Bitcoin node that provides secure connectivity, a new blockchain phone you can customize, and a flagship’s hardware...
Bitcoin Mining Investment Strong – BTC Hashrate Surpasses All-Time High
2.3.2020
On Monday, March 2, miners processing blocks on the BTC network surpassed the network’s all-time high as the overall hashrate touched 136 exahash (EH/s). The record-breaking achievement happened despite the price of BTC dropping below the $9K region throughout the course of the last week....
Unfortunately, clip-path: path() is Still a No-Go
2.3.2020
I was extremely excited when I first heard that clip-path: path() was coming to Firefox. Just imagine being able to easily code a breathing box like the one below with just one HTML element and very little CSS without needing SVG or a huge list of points inside the polygon function!
Chris...
IOTA Network Down for 11 Days – Devs Claim Mainnet Will Be Operational Next Month
24.2.2020
The IOTA network has been down for approximately 11 days and the IOTA Foundation doesn’t expect the mainnet to be reactivated until March 2. On February 14, our newsdesk reported on the beginnings of the IOTA outage, when the network status page indicated that it was down. The page still...
Moving from Vanilla JavaScript to a Reusable Vue Component
17.2.2020
I recently wrote an article explaining how you can create a countdown timer using HTML, CSS and JavaScript. Now, let’s look at how we can make that a reusable component by porting it into Vue using basic features that the framework provides.
Why do this...
Binance Announces Addition of Eight New Crypto Assets to the Convert Function
11.2.2020
World’s leading crypto exchange announced on Tuesday that it has added eight new crypto assets to the convert function, which means that these cryptocurrencies can now be converted to the other ones. This will improve the flexibility for traders, especially those who prefer trading as per market...
Hierarchies of Money: Why You Use Bank Money But the Bank Wants Reserve Currency
31.1.2020
While people tend to think of money as being all the same, the fact is governments and banks use different types of money than the everyday individual. From the top of the economic pyramid of world reserve currencies, down through central bank and commercial bank money, the capacities and function...
Resizing Values in Steps in CSS
30.1.2020
There actually is a steps() function in CSS, but it's only used for animation. You can't, for example, tell an element it's allowed to grow in height but only in steps of 10px. Maybe someday? I dunno. There would have to be some pretty clear use cases that something like background-repeat: space...
Coinme Adds BTC Purchase Function to Over 100 Coinstar Kiosks in California
14.1.2020
With over 21,000 kiosks in the U.S., Coinstar is a popular automated service for those who want to turn their fiat coins into paper cash. 3,000 of these kiosks have been integrated with Coinme to include crypto purchase functionality, and more than 100 BTC-integrated Coinstar kiosks are now newly...
Re-creating the ‘His Dark Materials’ Logo in CSS
11.1.2020
The text logo has a slash cut through the text. You set two copies on top of one another, cropping both of them with the clip-path property.
What's interesting to me is how many cool design effects require multiple copies of an element to do something cool. To get the extra copy, at least with...