JavaScript

How To Build an Inspirational Quote Application Using AdonisJs and MySQL — step-by-step Databases tutorial on Progressive Robot

How To Build an Inspirational Quote Application Using AdonisJs and MySQL

In this tutorial, you’ll build an application with AdonisJs using the CLI. You’ll create routes, controllers, models, and views within your application and you’ll carry out form validations. The example in this tutorial will be an inspirational quote application in which a user can sign up and log in to create an inspirational quote. This demo application will give you the opportunity to carry out CRUD (Create, Read, Update, and Delete) operations.

Read more
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
CHAT