JavaScript Tutorial

JavaScript Array Methods Tutorial: map, filter, reduce, find, some and every with Examples

Submitted by jaypabs on

Arrays are the default list type in JavaScript, and most of the day-to-day work you do with them — transform items, keep only some of them, compute a total, find the first match — is easier with the built-in array methods than with handwritten for loops. Once you are comfortable with map, filter, reduce, find, some and every, reading other people's code (and writing your own API responses) gets much faster.

JavaScript Destructuring, Spread and Rest Operators Explained with Examples

Submitted by jaypabs on

If you have read modern JavaScript code, in React components, Node.js APIs or even in the browser console, you have probably seen lines like const { name, email } = user; or [...items, newItem]. Those three dots and curly braces are destructuring, the spread operator and rest parameters. They were added in ES6 (ECMAScript 2015) and ES2018, and today they appear in almost every JavaScript project.

JavaScript Fetch API with async/await: GET, POST, Error Handling and Timeouts

Submitted by jaypabs on

Almost every modern web page loads data from somewhere: a weather widget, a product list, a chat window, a dashboard. In JavaScript, the standard way to do that is the Fetch API, and the cleanest way to use it is with async/await. Old tutorials often show long chains of .then() calls, which work, but are harder to read and much easier to get wrong.

Building a Simple Modal using HTML, CSS, and JavaScript

Submitted by oretnom23 on

In this tutorial, we will learn how to create a simple yet highly usable feature that can be integrated into any web application project. We will build a Simple Modal using HTML, CSS, and JavaScript. A modal window is one of the most commonly used components in modern web design and development because it enhances user interaction without requiring page reloads or redirects.

Build a Simple Text Analyzer Tool with HTML, CSS, and JavaScript

Submitted by oretnom23 on

In this tutorial, we'll walk through the step-by-step process of building a Simple Text Analyzer Tool using HTML, CSS, and JavaScript. This guide is designed to help beginners understand how to create a practical and useful web application using only these core web technologies.

Building a Pomodoro Timer Application using HTML, CSS, and JS

Submitted by oretnom23 on

In this tutorial, we will walk you through the step-by-step process of creating a fully functional Pomodoro Timer Application from scratch. This productivity-boosting web app will be developed using core web technologies including HTML for structuring the content, CSS for styling and layout, and JavaScript for implementing interactive and dynamic timer functionality.

Building a Fruit Memory Game using HTML, CSS, and JavaScript

Submitted by oretnom23 on

In this tutorial, we will walk you through the steps to create a simple Memory Game using only HTML, CSS, and JavaScript, without relying on any external libraries or frameworks. This project is perfect for beginners who want to strengthen their fundamental web development skills by building an interactive and fun browser-based game from scratch.

How to Build a Simple Quiz App with a Timer Using HTML, CSS, and JavaScript?

Submitted by oretnom23 on
Title: How to Build a Simple Quiz App with a Timer Using HTML, CSS, and JavaScript?

In this tutorial, we will create a simple Quiz Application with Timer using HTML, CSS, and JavaScript. This step-by-step guide aims to provide you with a strong foundation and a practical example to kickstart your journey in developing similar interactive applications. By the end of this tutorial, you'll have a functional quiz app with a countdown timer to enhance user engagement.

Step-by-Step Guide to Building a Simple Flashcard App with HTML, CSS, and JavaScript

Submitted by oretnom23 on

In this tutorial, we will explore how to create a Simple Flashcard Application using HTML, CSS, JavaScript (JS), and jQuery. This step-by-step guide is designed to help you build an interactive and user-friendly flashcard app that can be used for studying, quizzes, or learning new concepts effectively.