JavaScript

Доступ к фронтальной и задней камерам с помощью getUserMedia() в JavaScript — step-by-step Javascript tutorial on Progressive Robot

Доступ к фронтальной и задней камерам с помощью getUserMedia() в JavaScript

В языке HTML5 появились API для доступа к аппаратному обеспечению устройств, включая MediaDevices API. Этот API предоставляет доступ к устройствам ввода мультимедиа. в том числе аудио и видео. В этом учебном модуле вы узнаете, как получать доступ к видеопотокам с камер устройства пользователя.

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 Create Reusable Blocks of Code with Vue Single-File Components — step-by-step Javascript tutorial on Progressive Robot

How To Create Reusable Blocks of Code with Vue Single-File Components

When creating a web application using Vue.js, it’s a best practice to construct your application in small, modular blocks of code. You can gain this modularity with Single-File Components. In this tutorial, you are going to create a SFC and use props to pass data down and slots to inject content between tags. By the end of this tutorial, you will have a general understanding of what SFCs are and how to approach code re-usability.

Read more
Cara Menggunakan .map() untuk Melakukan Iterasi Item Array di JavaScript — step-by-step Javascript tutorial on Progressive Robot

Cara Menggunakan .map() untuk Melakukan Iterasi Item Array di JavaScript

Salah satu metode paling populer dari melakukan iterasi set data di Javacript adalah metode `.map()`. `.map()` menciptakan array dengan memanggil fungsi spesifik di setiap item di dalam array induk. `.map()` adalah metode nonmutasi yang menciptakan suatu array baru alih-alih mengubah yang asli. Dalam tutorial ini, kita akan membahas empat penggunaan bermanfaat dari `.map()` di JavaScript: memanggil fungsi elemen array, mengubah string menjadi array, merender daftar di dalam pustaka, dan memforma

Read more
Cómo instalar Node.js en Ubuntu 20.04 — step-by-step Linux tutorial on Progressive Robot

Cómo instalar Node.js en Ubuntu 20.04

Node.js es un tiempo de ejecución de JavaScript para programar del lado del servidor. Permite a los desarrolladores crear funcionalidades de backend escalables usando JavaScript, un lenguaje que muchos ya conocen del desarrollo web basado en…

Read more
CHAT