JavaScript

Internationalization API built into your browser

There is a good chance that the application that you work on supports multiple languages. One of the things this includes is language-sensitive date handling. The most popular library that helps in achieving that is Moment.js. One of the things it handles is internationalization. Its source code contains localization for many different languages. Currently, this might not be […]

JavaScript

Introduction to Data-Driven Documents. The basics of D3.js

When it comes to visualizing data, there are quite a few libraries out there. The level of abstraction they introduce varies. Libraries like C3 and Recharts depend on the Data-Driven Documents library – D3. Learning D3 might mean dealing with more code. The experience you can get this way will benefit you though so that you can […]

JavaScript

Improving our performance, accessibility, and SEO with Lighthouse audits

The internet connections get faster, and the devices that we use for browsing the web get more powerful. On the other hand, our websites get more and more complex, and the connection might fail at some point. Forgetting about performance can seriously hurt the user experience. BBC stated that on their website, for every additional second […]

JavaScript

Creating a Material Design slider with Web Components. The Shadow DOM concept

As a developer dealing with the Front End technologies, you probably are familiar with attempts to reuse the code in the form of components, for example with libraries like React, Angular and Vue. Web Components implement a similar idea. It consists of a few technologies, that together create an environment suitable for creating reusable, encapsulated […]

Express JavaScript Node.js

TypeScript Express tutorial #11. Node.js Two-Factor Authentication

This entry is part 11 of 12 in the TypeScript Express tutorial

Identity theft is a serious issue nowadays. With so many accidents happening on the web, it is a great time to learn about providing an additional layer of security for our users. In this article, we go through the principles and implementation of Node.js Two-Factor Authentication (2FA). We do that by using Google Authenticator and […]

JavaScript Node.js

Node.js TypeScript #15. Benefits of the HTTP/2 protocol

This entry is part 12 of 15 in the Node.js TypeScript

The HTTP protocol, having been introduced in 1991, is almost 30 years old. It went through quite a journey since the first documented version, later called 0.9. In this article, we briefly go through the history of the development of the HTTP protocol and focus on what HTTP/2 brings and how we can benefit from […]

JavaScript

What are symbols and how they can be useful to you

The symbol is a new primitive value introduced by ES6. It aims to provide us with unique identifiers. In this article, we explore how it works, in what way it is used in the JavaScript language and how we can benefit from that. Creating symbols To create a symbol, we use its constructor.

The function […]