Search
JavaScript waitForTime
6.11.2019
I write a lot of tests for new features within Firefox DevTools. We have hundreds of “mochitests” which open the browser and perform synthetic actions like clicking, typing, and other user actions. I’ve previously written about waitForever which essentially halts following actions...
Comparing the Different Types of Native JavaScript Popups
31.10.2019
JavaScript has a variety of built-in popup APIs that display special UI for user interaction. Famously:
alert("Hello, World!");
The UI for this varies from browser to browser, but generally you’ll see a little window pop up front and center in a very show-stopping way that contains the message...
Are There Random Numbers in CSS?
29.10.2019
CSS allows you to create dynamic layouts and interfaces on the web, but as a language, it is static: once a value is set, it cannot be changed. The idea of randomness is off the table. Generating random numbers at runtime is the territory of JavaScript, not so much CSS. Or is it? If we factor in...
What I Like About Writing Styles with Svelte
23.10.2019
There’s been a lot of well-deserved hype around Svelte recently, with the project accumulating over 24,000 GitHub stars. Arguably the simplest JavaScript framework out there, Svelte was written by Rich Harris, the developer behind Rollup. There’s a lot to like about Svelte (performance, built-in...
How Cryptocurrency Developers Can Earn Bitcoin Cash With REST APIs
22.10.2019
A recent video by Chris Troutner, Senior Javascript Developer at Bitcoin.com, points out a problem with anti-profit seeking approaches to crypto development, and how devs can incentivize growth and attract business using REST APIs to earn BHC. Without incentives, Troutner notes, many promising...
Options for Hosting Your Own Non-JavaScript-Based Analytics
18.10.2019
There are loads of analytics platforms to help you track visitor and usage data on your sites. Perhaps most notably Google Analytics, which is widely used (including on this site), probably due to it's ease of integration, feature-richness, and the fact that it's free (until you need to jump up...
How to Create a QR Code
15.10.2019
QR codes aren’t everyone’s cup of tea but I quite like them. If I see something I want to remember or check out later, especially when on the road, it’s super easy to take a quick picture — it’s much easier than trying to remember a URL and much faster than typing...
10 Interesting JavaScript and CSS Libraries for October 2019
15.10.2019
Our resources collection for the month of October includes helpful fronted libraries, a cute CSS framework, and some awesome Node.js tools
Jaká byla Nordic.js 2019
14.10.2019
Série evropských JavaScriptových konferencí JSConf zaznamenala letos výraznou změnu, když její hlavní a zakládající berlínská odnož oznámila ukončení svého působení. Tíha zodpovědnosti se tak přesouvá na ostatní regionální organizátory
Programming Languages Used in Blockchain, Explained
10.10.2019
What are programming languages used for in blockchain, what are their downsides, and what are the new solutions on the market? Here, we take a look #Sponsored
A Snippet to See all SVGs in a Sprite
8.10.2019
I think of an SVG sprite as this:
<svg display="none">
<symbol id="icon-one"> ... <symbol>
<symbol id="icon-two"> ... <symbol>
<symbol id="icon-three"> ... <symbol>
</svg>
I was long a fan of that approach for icon systems...
How to Detect an Ad Blocker
8.10.2019
One of the unspoken rules of the internet is that most content is “free”… at the cost of webpage being littered with advertisements and trackers. This was’t a big problem in the early internet days but trackers and advertisements have become so intrusive and unapologetically...
Awards That Look Beyond the Flashy
3.10.2019
Dan Mall is judging the Communication Arts Interactive 2020 awards. These types of things are usually a celebration of flashy, short-lived, one-off designs. Those things are awesome, but Dan has more in mind:
I’d love to award work that demonstrates creative use of the highest level of color...
designMode
1.10.2019
Every once in a while I stumble upon an API or browser setting that I can’t believe ever existed. Such examples can be seen in the numerous String.prototype properties such as bold, italics, and even blink, which wrap given string text in their representative HTML tags. Bizarre. It...
Get Geographic Information from an IP Address for Free
24.9.2019
Say you need to know what country someone visiting your website is from, because you have an internationalized site and display different things based on that country. You could ask the user. You might want to have that functionality anyway to make sure your visitors have control, but surely they...
Weekly Platform News: Emoji String Length, Issues with Rounded Buttons, Bundled Exchanges
19.9.2019
In this week's roundup, the string length of two emojis is not always equal, something to consider before making that rounded button, and we may have a new way to share web apps between devices, even when they are offline.
The JavaScript string length of emoji characters
A single rendered emoji...
10 Interesting JavaScript and CSS Libraries for September 2019
17.9.2019
This September's collection is packed with cool JS libraries, an experimental CSS framework, and other awesome tools!
Weekly Platform News: Apple Deploys Web Components, Progressive HTML Rendering, Self-Hosting Critical Resources
13.9.2019
In this week's roundup, Apple gets into web components, how Instagram is insta-loading scripts, and some food for thought for self-hosting critical resources.
Apple deploys web components built using Stencil
The new Apple Music web app (beta) uses a JavaScript framework (Ember.js) but also...
Collective #548
12.9.2019
Metronomes in JavaScript * VeoLuz * Logical Operations with CSS Variables * Can I Email * Simplicity (II)
Collective #548 was written by Pedro Botelho and published on Codrops
“Off The Main Thread”
10.9.2019
JavaScript is what they call "single-threaded." As Brian Barbour puts it:
This means it has one call stack and one memory heap.
We all feel a symptom of that regularly in the form of performance jank and non-interactivity on elements or entire sites. If we give JavaScript lots of jobs and it gets...