Search
Implementing Private Variables In JavaScript
1.6.2019
JavaScript (or ECMAScript) is the programming language that powers the web. Created in May 1995 by Brendan Eich, it’s found its place as a widely-used and versatile technology. Despite its success, it’s been met with its fair share of criticism, especially for idiosyncrasies. Things like objects...
Testing the Noncustodial Button Wallet With BCH Over Telegram Messenger
31.5.2019
Users of the Telegram-infused cryptocurrency Button Wallet can now purchase digital assets through its partnership with the payment processor Wyre. Button Wallet allows users to store, send, and receive cryptocurrencies like BCH, ETH, BTC, LTC, and ETC through the Telegram messaging app....
Reducing motion with the picture element
31.5.2019
Here’s a bonafide CSS/HTML trick from Brad Frost and Dave Rupert where they use the <picture> element to switch out a GIF file with an image if the user has reduced motion enabled. This is how Brad goes about implementing that:
<picture>
<!-- This image will be loaded if...
EY Open-Sources ‘Nightfall’ Code for Private Transactions on Ethereum
31.5.2019
One of the world's largest consultancy firms has released a new set of protocols for enabling private transactions atop the ethereum blockchain
React Async for Declarative Data Fetching
31.5.2019
Generally, there are two ways of writing code: Imperatively/Declaratively and two ways of fetching Data: Synchronously/Asynchronously. We are more convenient with making requests imperatively using
Another Aspiring Satoshi Copyrights the Bitcoin Whitepaper
30.5.2019
The cryptocurrency community got riled up recently over Craig Wright’s U.S. copyright registration of the Bitcoin whitepaper and some of the code from the early software. However, on May 24 the U.S. Copyright Office saw a Bitcoin whitepaper registration by a man named Wei Liu, bringing...
A Practical Use Case for Vue Render Functions: Building a Design System Typography Grid
30.5.2019
This post covers how I built a typography grid for a design system using Vue render functions. Here’s the demo and the code. I used render functions because they allow you to create HTML with a greater level of control than regular Vue templates, yet surprisingly I couldn’t find very much when...
Night Mode with Mix Blend Mode: Difference
27.5.2019
Dark mode designs are all the rage right now but here’s an interesting take: Wei Gao has built a night mode on her own site that uses mix-blend-mode: difference to create an effect that looks like this:
Wei explains how she implemented this technique and the edge cases she encountered along...
10 Web Performance Audit Tips for Your Next Billion Users in 2018: Resolution Switching
26.5.2019
We need to learn that when it comes to responsive design, this doesn’t cut it for responsive images:
img {
width: 100%;
height: auto;
}
This is not a silver bulle
10 Web Performance Audit Tips for Your Next Billion Users in 2019: Resolution Switching
26.5.2019
We need to learn that when it comes to responsive design, this doesn’t cut it for responsive images:
img {
width: 100%;
height: auto;
}
This is not a silver bulle
Bitcoin.com Launches Free Bitcoin Cash Register Platform for iOS Devices
25.5.2019
About a month ago, Bitcoin.com launched its free point-of-sale solution, Bitcoin Cash Register, for Android operating systems. This week our developers have released Bitcoin Cash Register for iOS mobile phones allowing any merchant with an Apple device to accept bitcoin cash payments. Also read:...
Code as Documentation: New Strategies with CSS Grid
24.5.2019
I work for Supercool, a fast-moving design agency that makes custom built sites for arts clients, powered by the off-the-shelf system, Craft CMS; it's high-spec graphic design with relatively demanding typography and art direction. Over the past few months we’ve been moving to CSS grid. We’re...
Implementing a Scroll Based Animation with JavaScript
24.5.2019
There is a kind of animations that has not stopped increasing its presence in the most modern and original websites: the animations based on the scroll event of Javascript.
This trend
US Copyright Office Responds to Craig Wright’s Bitcoin Registrations
23.5.2019
On May 21, 2019, a press release was sent to a variety of publications that said Craig Wright was granted two U.S. copyrights for the original Bitcoin white paper and version 0.1 of the cryptocurrency’s code. Meanwhile, the U.S. Copyright Office specifically addressed the matter in a press...
The Browser Can Remember Edited Content
22.5.2019
You can make the text inside any HTML element editable by adding the contenteditable attribute.
<div contenteditable>
Hey, I'm like a textarea kinda now!
</div>
I wouldn't say there are wheelbarrows full of use-cases for that, but it's neat. One possible use might be...
Craig Wright Attempts to Copyright the Satoshi White Paper and Original Bitcoin Code
21.5.2019
Craig Wright has filed copyright registrations for the original Satoshi white paper and bitcoin code with the U.S. Copyright Office
Animated Page Transitions in Gatsby Websites
21.5.2019
GatsbyJS is a React-based static site generator powered by GraphQL. It makes it possible for you to code and develop your site, while Gatsby transforms it into a directory with a s
The “Inside” Problem
20.5.2019
So, you're working on a design. You need a full-width container element because the design has a background-color that goes from edge-to-edge horizontally. But the content inside doesn’t necessarily need to be edge-to-edge. You want to:
Limit the width (for large screens)
Pad the edges
Center...
Footnotes That Work in RSS Readers
17.5.2019
Feedbin is the RSS reader I'm using at the moment. I was reading one of Harry's blog posts on it the other day, and I noticed a nice little interactive touch right inside Feedbin. There was a button-looking element with the number one which, as it turned out, was a footnote. I hovered over it,...
Everything You Ever Wanted to Know About inputmode
17.5.2019
The inputmode global attribute provides a hint to browsers for devices with onscreen keyboards to help them decide which keyboard to display when a user has selected any input or textarea element.
<input type="text" inputmode="" />
<textarea inputmode="" />
Unlike changing the type...