Search
The Hooks of React Router
12.2.2020
React Router 5 embraces the power of hooks and has introduced four different hooks to help with routing. You will find this article useful if you are looking for a quick primer on the new patterns of React Router. But before we look at hooks, we will start off with a new route rendering...
Custom Styling Form Inputs With Modern CSS Features
7.2.2020
It’s entirely possible to build custom checkboxes, radio buttons, and toggle switches these days, while staying semantic and accessible. We don’t even need a single line of JavaScript or extra HTML elements! It’s actually gotten easier lately than it has been in the past. Let’s take a look.
Here’s...
Paris Blockchain Week Summit Announces Its 2020 Speaker Lineup
7.2.2020
Disclaimer: The text below is a press release that was not written by Cryptonews.com.
________________
Following a Successful First Year, Global Conference to Feature Prominent Speakers in Politics, Technology, Business, and Finance, with support from Bruno Le Maire, French Minister for the Economy...
Select an Element with a Non-Empty Attribute
5.2.2020
Short answer:
[data-foo]:not([data-foo=""] {
Longer answer (same conclusion, just an explanation on why we might need this):
Say you have an element that you style with a special data-attribute:
<div data-highlight="product"</div
You want to target that element and do special things when...
The Controversial S2F Model Predicts Bitcoin Price Will Reach 100,000 USD Within 2 Years
4.2.2020
The current price of BTC is roughly in line with the popular stock-to-flow (S2F) system for technical analysis, and if the trend continues some speculate the price of the asset could reach $100,000 within the next two years. Though the S2F tool is still a controversial metric, and various groups...
Line’s Digital Currency Link to Be Available in Japan as Early as April 2020
3.2.2020
Launched in October 2018, Asian messaging giant Line’s Bitbox crypto exchange has made its link (LN) digital asset available to users worldwide, with the exception of notable locations like Japan and the U.S. Last Thursday the group announced it was preparing to launch the coin in...
Messaging Giant Line to Launch Link Token Trading for Japan in April
2.2.2020
Link, the proprietary token messaging app Line, will launch trading for Japan in April
Understanding Immutability in JavaScript
30.1.2020
If you haven’t worked with immutability in JavaScript before, you might find it easy to confuse it with assigning a variable to a new value, or reassignment. While it’s possible to reassign variables and values declared using let or var, you'll begin to run into issues when you try that with...
Facebook and Telegram Rival Line to Bring its Token to 82 Million Users
30.1.2020
Line, one of Asia’s biggest chat apps, is set to debut its own digital token in Japan on Bitmax, its own crypto exchange.
Per a number of Japanese media outlets, including Coin Post, the company made its announcement via its blockchain and cryptocurrency subsidiary LVC – and is aiming for a rollout...
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...
The 3rd Cryptopulco Announces its Speaker Line-Up
25.1.2020
Acapulco, Mexico (December 12, 2019)—Cryptopulco is excited to announce the speakers for the 3rd Annual Crytpopulco as part of Anarchapulco, February 13–16, 2020, in Acapulco, Mexico. The speaker line up for 2020 includes; ● Naomi Brockwell – MC for Cryptopulco ● Nick Spanos – Bitcoin...
Bundling JavaScript for Performance: Best Practices
24.1.2020
Performance advice from David Calhoun on how many scripts to load on a page for best performance:
[...] some of your vendor dependencies probably change slower than others. react and react-dom probably change the slowest, and their versions are always paired together, so they...
What’s the Difference Between Width/Height in CSS and Width/Height HTML attributes?
24.1.2020
Some HTML elements accept width and height as attributes. Some do not. For example:
<!-- valid, works, is a good idea --<img width="500" height="400" src="..." alt="..."<iframe width="600" height="400" src="..."</iframe<svg width="20" height="20"</svg<!-- not valid...
Component-Level CMSs
23.1.2020
When a component lives in an environment where the data queries populating it live nearby, there is a pretty direct line between the visual component and the database where that exact content lives. That is opening up doors to site editing experiences that travel that line. We're starting to...
Digital Chamber Asks Court to Draw Line Between Investment Contracts and Assets in Telegram Case
22.1.2020
The Chamber of Digital Commerce, a blockchain advocacy group, wants a U.S. court to distinguish between an investment contract and the underlying asset used by Telegram during a 2018 initial coin offering
Searching the Jamstack
22.1.2020
Here's Raymon Camden on adding site search functionality to a site that is statically hosted. A classic trick! Just shoot 'em to Google and scope the results to your site:
<form action="https://www.google.com/search" method="get"<input type="search" name="q"...
Snowpack
14.1.2020
Snowpack. Love that name. This is the new thing from the Pika people, who are on to something. It's a bundler alternative, in a sense. It runs over packages you pull from npm to make sure that they are ES module-compatible (native imports).
This is how I digest it. When you write a line of code...
CSS-Only Carousel
10.1.2020
It's kind of amazing how far HTML and CSS will take you when building a carousel/slideshow.
Setting some boxes in a horizontal row with flexbox is easy.
Showing only one box at a time with overflow and making it swipable with -webkit-overflow-scrolling is easy.
You can make the "slides" line...
Is it better to use ems/rems than px for font-size?
10.1.2020
The answer used to be absolutely yes because, if you used px units, you prevented the text from being resized by the user at all.
But browser zoom is the default method for making everything bigger (including text) these days and it works great even if you use px.
But... Kathleen McMahon really...
Messenger Giant Line’s Crypto Exchange to Delist XRP This Month
7.1.2020
BitBox, the Singapore-based crypto exchange of messaging giant Line, will delist XRP on Jan. 16