JavaScript

How To Define Functions in JavaScript — step-by-step Javascript tutorial on Progressive Robot

How To Define Functions in JavaScript

A function is a block of code that performs an action or returns a value. Functions are custom code defined by programmers that are reusable, and can therefore make your programs more modular and efficient. In this tutorial, we will learn several ways to define a…

Read more
How To Handle DOM and Window Events with React — step-by-step Javascript tutorial on Progressive Robot

How To Handle DOM and Window Events with React

In JavaScript apps using the React front-end library, you can use event handlers to update state data, trigger prop changes, or prevent default browser actions. To do this, React uses a SyntheticEvent wrapper instead of the native Event interface. In this tutorial, you’ll build several sample components that handle user events. You’ll learn how to add event handlers to components, pull information from the SyntheticEvent, and add and remove Window event listeners.

Read more
Индексация, разделение и управление строками в JavaScript — step-by-step Javascript tutorial on Progressive Robot

Индексация, разделение и управление строками в JavaScript

В этом учебном модуле мы изучим разницу между примитивами строк и объектом String, узнаем об индексации строк, доступе к символам в строке и общих свойствах и методах, используемых при работе со строками.

Read more
Como instalar o Node.js no Ubuntu 20.04 — step-by-step Linux tutorial on Progressive Robot

Como instalar o Node.js no Ubuntu 20.04

O Node.js é um ambiente de execução do JavaScript criado para a programação do lado do servidor. Ele permite que os desenvolvedores criem funcionalidades de back-ends escaláveis usando o JavaScript, uma linguagem que muitos já estão familiarizados em…

Read more
How To Manage Monorepos With Lerna — step-by-step Javascript tutorial on Progressive Robot

How To Manage Monorepos With Lerna

Lerna is as a tool for managing JavaScript projects with multiple packages with features such as package bootstrapping, parallelized builds, and artifactory publication. In this tutorial, you will install Lerna, create a working directory, initialize a Lerna project, create a monorepo, bootstrap your packages, and add a dependency to the packages.

Read more
How To Secure React Applications Against XSS Attacks with HTTP-Only Cookies — step-by-step Docker tutorial on Progressive Robot

How To Secure React Applications Against XSS Attacks with HTTP-Only Cookies

In this tutorial, you will create a React application and mock API that implements a token-based authentication system set up in a local Docker container. You will exploit the token storage method with a cross-site scripting attack, then mitigate the issue with HTTP-only cookies. By the end of this tutorial, you’ll understand the security considerations needed to implement a functioning token-based authentication system alongside a React and Node web application.

Read more
How To Use Decorators in TypeScript — step-by-step Javascript tutorial on Progressive Robot

How To Use Decorators in TypeScript

Decorators are a way to decorate members of a class, or a class itself, with extra functionality. This tutorial covers creating decorators in TypeScript for classes and class members, and also how to use them.

Read more
Como usar o Font Awesome 5 com o React — step-by-step Javascript tutorial on Progressive Robot

Como usar o Font Awesome 5 com o React

O Font Awesome é um kit de ferramentas para sites que oferece ícones e logotipos. O React é uma biblioteca de programação que utiliza o JavaScript para criar interfaces de usuários. Embora o time do Font Awesome tenha criado um componente do React para promover a integração, ainda existem alguns fundamentos a serem compreendidos sobre o Font Awesome 5 e como ele é estruturado. Neste tutorial, você irá aprender as maneiras de usar o componente Font Awesome do React.

Read more
CHAT