Search
10 React Challenges (Beginner): Fetch and Display from an API
28.5.2019
A number of web applications and sites rely on third-party APIs and services for data.
In this React challenge, we will learn to make an API r
Honest Nodes Spoiling a Theft Attempt Is Not a 51% Attack, BCH Devs Detail
27.5.2019
A number of Bitcoin Cash detractors and media publications have recently been spreading a false narrative that the BCH network was ‘51% attacked.’ In reality, however, honest nodes used their hashrate to stave off attacker nodes that were attempting to steal funds on the network. Also...
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...
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,...
Using Jetpack to Accelerate WordPress Development
16.5.2019
(This is a sponsored post.)
[Geoff:] I've built a fair number of WordPress sites in my day. It's been my go-to since the 2.x-ish days because it works for any site, big or small. That's the sort of solution and flexibility you like to have as a freelancer.
Boy, I wish I had Jetpack available...
Google Fonts is Adding font-display
14.5.2019
Google announced at I/O that their font service will now support the font-display property which resolves a number of web performance issues. If you're hearing cries of joy, that's probably Chris as he punches the air in celebration. … Read article
The post Google Fonts is Adding...
Satoshi Nakamoto Could Be Criminal Mastermind Paul Le Roux
13.5.2019
One of the most enduring mysteries of modern times has produced another enthralling twist. Satoshi Nakamoto, Bitcoin’s pseudonymous and enigmatic creator, has not been seen online in more than eight years. Evidence has now surfaced that points to a new Satoshi candidate, whose known life...
PR: ACD Launches Coin Buy Back Project
10.5.2019
ACD's new exciting project is the brainchild of Bitcoin.com's CEO Roger Ver and ACD's CEO Yasuhiro Sonoda. ACD has decided to start the "ACD Coin Buy Back Project," where a certain number of ACD coins will be bought back when payment is processed using BCH and ACD Coin at online and affiliate shops...
The Thinking Behind Simplifying Event Handlers
9.5.2019
Events are used to respond when a user clicks somewhere, focuses on a link with their keyboard, and changes the text in a form. When I first started learning JavaScript, I wrote complicated event listeners. More recently, I've learned how to reduce both the amount of code I write and the number...
A Few Functional Uses for Intersection Observer to Know When an Element is in View
8.5.2019
You might not know this, but JavaScript has stealthily accumulated quite a number of observers in recent times, and Intersection Observer is a part of that arsenal. Observers are objects that spot something in real-time — like birdwatchers going to their favorite place to sit and wait for the birds...
Getting To Know The MutationObserver API
8.5.2019
MutationObserver watches the DOM, specifically the places you tell it to, like:
document.querySelector('#watch-this');
...and it can tell you (trigger a callback) when stuff happens — like when a child is added, removed, changed, or a number of other things.
I used it just the other day...
Netlify Functions for Sending Emails
23.4.2019
Let's say you're rocking a JAMstack-style site (no server-side languages in use), but you want to do something rather dynamic like send an email. Not a problem! That's the whole point of JAMstack. It's not just static hosting. It's that plus doing anything else you wanna do through JavaScript...
The Serif Tax
9.4.2019
Fonts are vector. Vector art with more points makes for larger files than vector art with fewer points. Custom fonts are downloaded. So, fonts with less points in their vector art are smaller. That's the theory anyway. Shall we see if there is any merit to it?
Open Sans (top) and Garamond...
You probably don’t need input type=“number”
29.3.2019
Brad Frost wrote about a recent experience with a website that used <input type="number">:
Last week I got a call from my bank regarding a wire transfer I had just scheduled. The customer support guy had me repeat everything back to him because there seemed to be a problem with...
CSS Houdini Could Change the Way We Write and Manage CSS
28.3.2019
CSS Houdini may be the most exciting development in CSS. Houdini is comprised of a number of separate APIs, each shipping to browsers separately, and some that have already shipped (here's the browser support). The Paint API is one of them. I’m very excited about it and recently started to think...
Jetpack Gutenberg Blocks
28.3.2019
I remember when Gutenberg was released into core, because I was at WordCamp US that day. A number of months have gone by now, so I imagine more and more of us on WordPress sites have dipped our toes into it. I just wrote about our first foray here on CSS-Tricks and using Gutenberg to power...
JavaScript Glossary: String length
26.3.2019
Basics
The length property of the String object returns the number of code points in a string object. It indicates the length of the string
3 Tools to Keep npm Packages Updated
12.3.2019
Keeping npm packages up to date is a chore. Sometimes it can turn into a disastrous chore since updating packages to a new major number could potentially break your apps.
Even with the
JavaScript Glossary: Array unshift() Method
17.2.2019
Basics
The unshift array method appends a number of values to the start of a given array. It then returns the new length of the array. This method can take a number of argumen
Blíží se GPS Week Number Rollover Event. Staré přijímače mohou přestat fungovat
14.2.2019
Máte doma starý GPS přijímač? Možná vám 6. dubna přestane korektně fungovat, po necelých dvaceti letech totiž dojde k dalšímu přetečení čítače týdnů v systému americké satelitní navigace.
Jedná se o problém, se kterým jsme se v oblasti IT setkali v minulosti už několikrát – třeba