JavaScript

How To Submit AJAX Forms with JQuery — step-by-step Javascript tutorial on Progressive Robot

How To Submit AJAX Forms with JQuery

While vanilla JavaScript continues to catch up to JQuery in terms of capability and cross-browser consistency, handling form submissions in JavaScript can still be a minefield of gotchas and inconsistency.

Read more
Understanding Generators in JavaScript — step-by-step Javascript tutorial on Progressive Robot

Understanding Generators in JavaScript

In ECMAScript 2015, generators were introduced to the JavaScript language. A generator is a process that can be paused and resumed and can yield multiple values. They can maintain state, providing an efficient way to make iterators, and are capable of dealing with infinite data streams. In this article, we’ll cover how to create generator functions, how to iterate over Generator objects, the difference between yield and return inside a generator, and other aspects of working with generators.

Read more
Understanding This, Bind, Call, and Apply in JavaScript — step-by-step Javascript tutorial on Progressive Robot

Understanding This, Bind, Call, and Apply in JavaScript

The `this` keyword is a very important concept in JavaScript, and also a particularly confusing one to both new developers and those who have experience in other programming languages. In JavaScript, `this` is a reference to an object. In this article, you’ll learn what `this` refers to based on context, and you’ll learn how you can use the `bind`, `call`, and `apply` methods to explicitly determine the value of `this`.

Read more
What is JavaScript? — step-by-step Javascript tutorial on Progressive Robot

What is JavaScript?

JavaScript (also referred to as ‘javascript’ or JS) is a high-level, prototype-based, dynamic scripting language used to create interactive web pages and applications.

Read more
How To Build a Custom Sitemap for Your Gatsby.js Site — step-by-step Javascript tutorial on Progressive Robot

How To Build a Custom Sitemap for Your Gatsby.js Site

When you require an easy to deploy setup, it is possible to build static sites with React using Gatsby.js. These provide good speed and smooth developer experience. Gatsby has been consistently growing with developers using it for blog, marketing, and e-commerce sites. With the growing popularity of Gatsby.js and JAMstack sites, in this tutorial you’ll automatically generate a custom XML sitemap file in your Gatsby powered websites.

Read more
JavaScriptの getUserMedia() を使用してフロントカメラとリアカメラにアクセスする方法 — step-by-step Javascript tutorial on Progressive Robot

JavaScriptの getUserMedia() を使用してフロントカメラとリアカメラにアクセスする方法

HTML5 では、MediaDevices API など、デバイスハードウェアにアクセスできる API を導入しています。この API により、オーディオやビデオなどのメディア入力デバイスへのアクセスができます。このチュートリアルでは、ユーザーのデバイスに搭載されたカメラからビデオフィードにアクセスする方法を説明します。

Read more
How To Add Stimulus to a Ruby on Rails Application — step-by-step Javascript tutorial on Progressive Robot

How To Add Stimulus to a Ruby on Rails Application

In this tutorial, you will install and use Stimulus to build on an existing Rails application that offers readers information about sharks. The application already has a model for handling shark data, but you will add a nested resource for posts about individual sharks, allowing users to build out a body of thoughts and opinions about sharks. You will use Stimulus to manipulate the position and appearance of posts on the page.

Read more
CHAT