DEV Community

JavaScript

Once relegated to the browser as one of the 3 core technologies of the web, JavaScript can now be found almost anywhere you find code. JavaScript developers move fast and push software development forward; they can be as opinionated as the frameworks they use, so let's keep it clean here and make it a place to learn from each other!

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Handling form errors in htmx

Handling form errors in htmx

3
Comments 3
4 min read
Generate Number Ranges in JavaScript

Generate Number Ranges in JavaScript

5
Comments
1 min read
Building Your First Web Application: A Step-by-Step Guide

Building Your First Web Application: A Step-by-Step Guide

7
Comments
6 min read
Day 6: Handling Events in React

Day 6: Handling Events in React

Comments
2 min read
Advanced GraphQL Queries and Mutations

Advanced GraphQL Queries and Mutations

Comments
2 min read
Diving Deeper into JavaScript: Functions, Hoisting, Event Loop & More!

Diving Deeper into JavaScript: Functions, Hoisting, Event Loop & More!

Comments
1 min read
Create your own npm library

Create your own npm library

Comments
5 min read
The Promise.all( ) Dilemma: When it helps and When it hurts

The Promise.all( ) Dilemma: When it helps and When it hurts

1
Comments
5 min read
Running Llama 3.2 on Android: A Step-by-Step Guide Using Ollama

Running Llama 3.2 on Android: A Step-by-Step Guide Using Ollama

80
Comments 5
3 min read
How to Implement And Validate Your Site Speed Optimization Efforts

How to Implement And Validate Your Site Speed Optimization Efforts

4
Comments
1 min read
Update and delete records on a DWN

Update and delete records on a DWN

1
Comments
3 min read
Create records on a DWN

Create records on a DWN

1
Comments
4 min read
Setting Up the Workspace for Decentralized Web Nodes in JavaScript

Setting Up the Workspace for Decentralized Web Nodes in JavaScript

1
Comments
1 min read
Query and Read records on a DWN

Query and Read records on a DWN

1
Comments
2 min read
Connect to Web5 and on a DWN in Web5

Connect to Web5 and on a DWN in Web5

1
Comments
3 min read
🤪 Emojify Text Bookmarklet

🤪 Emojify Text Bookmarklet

1
Comments
1 min read
Mastering ISR in Next.js: How to Boost SEO and User Experience

Mastering ISR in Next.js: How to Boost SEO and User Experience

4
Comments
5 min read
The Secret to Smooth Animations in JavaScript!

The Secret to Smooth Animations in JavaScript!

Comments
1 min read
React 19 Is Here...Get Ready!

React 19 Is Here...Get Ready!

5
Comments
13 min read
Breaking out of overflow hidden

Breaking out of overflow hidden

6
Comments
4 min read
Property-Based Testing: A Deep Dive into a Modern Testing Approach

Property-Based Testing: A Deep Dive into a Modern Testing Approach

Comments
5 min read
A Practical Guide to CRUD Operations on Decentralized Web Nodes (aka DWNs)

A Practical Guide to CRUD Operations on Decentralized Web Nodes (aka DWNs)

2
Comments
2 min read
AI-Powered Content Moderation in React Using Large Language Models (LLMs)

AI-Powered Content Moderation in React Using Large Language Models (LLMs)

2
Comments 1
5 min read
Testing a Next.js App with React Testing Library & Jest

Testing a Next.js App with React Testing Library & Jest

Comments
1 min read
Naming Conventions in Programming

Naming Conventions in Programming

Comments
2 min read
Node.js Streams: What, Why, and How to Use Them

Node.js Streams: What, Why, and How to Use Them

Comments
5 min read
useState()

useState()

Comments
1 min read
Unlocking Performance: Understanding Total Blocking Time (TBT)

Unlocking Performance: Understanding Total Blocking Time (TBT)

1
Comments
3 min read
Deno or Bun? Or NodeJs? "Comparison"

Deno or Bun? Or NodeJs? "Comparison"

10
Comments
4 min read
Creating a Roman History Timeline Chart in JavaScript

Creating a Roman History Timeline Chart in JavaScript

3
Comments 1
22 min read
Hono - Introduction

Hono - Introduction

11
Comments
2 min read
bin vs scripts in package.json

bin vs scripts in package.json

1
Comments
2 min read
Exploring React Native Navigation with Expo: A Complete Guide

Exploring React Native Navigation with Expo: A Complete Guide

1
Comments
3 min read
Streamline File Uploads in NestJS: Efficient In-Memory Parsing for CSV & XLSX Without Disk Storage

Streamline File Uploads in NestJS: Efficient In-Memory Parsing for CSV & XLSX Without Disk Storage

Comments
8 min read
Mastering React Functional Components: Hooks, useEffect, and Lifecycle Explained

Mastering React Functional Components: Hooks, useEffect, and Lifecycle Explained

3
Comments 3
3 min read
CSS Gradient Text

CSS Gradient Text

Comments
1 min read
Understading Algorithm Complexity: A Deep Dive into Big O Notation With JavaScript

Understading Algorithm Complexity: A Deep Dive into Big O Notation With JavaScript

11
Comments
5 min read
Symbols and Objects in JS♥

Symbols and Objects in JS♥

1
Comments
2 min read
Smooth Transitions with Turbo Streams

Smooth Transitions with Turbo Streams

2
Comments 5
3 min read
TypeScript vs JavaScript: An In-Depth Comparison for Modern Web Development

TypeScript vs JavaScript: An In-Depth Comparison for Modern Web Development

6
Comments
5 min read
Can Next.js Replace Your Backend? Pros, Cons, and Real-World Use Cases

Can Next.js Replace Your Backend? Pros, Cons, and Real-World Use Cases

1
Comments
6 min read
Deno 2.0 is Finally Here: Key Highlights

Deno 2.0 is Finally Here: Key Highlights

6
Comments
2 min read
JavaScript Memory Management and Optimization Techniques for Large-Scale Applications

JavaScript Memory Management and Optimization Techniques for Large-Scale Applications

291
Comments 40
4 min read
Understanding JavaScript's Event Loop: A Simple Cookie-Making Analogy 🍪

Understanding JavaScript's Event Loop: A Simple Cookie-Making Analogy 🍪

6
Comments
3 min read
Python vs. JavaScript: A Comprehensive Comparison of Flexibility and Use Cases

Python vs. JavaScript: A Comprehensive Comparison of Flexibility and Use Cases

Comments
1 min read
Understanding DOM Events

Understanding DOM Events

Comments
4 min read
Code Smell 274 - Cascaded Returns

Code Smell 274 - Cascaded Returns

6
Comments
6 min read
Understanding the Shadow DOM and When to Use It

Understanding the Shadow DOM and When to Use It

1
Comments 2
3 min read
Ng-News 24/40: Angular Myths, Signal Input Migrator

Ng-News 24/40: Angular Myths, Signal Input Migrator

5
Comments 3
1 min read
State Management in React: When to Use useState, useReducer, and useRef

State Management in React: When to Use useState, useReducer, and useRef

2
Comments 2
2 min read
JavaScript Important concepts

JavaScript Important concepts

13
Comments 1
3 min read
Creating Progressive Web Apps with React

Creating Progressive Web Apps with React

1
Comments
2 min read
20 Essential JavaScript Concepts Every Node Developer Should Conquer

20 Essential JavaScript Concepts Every Node Developer Should Conquer

9
Comments
9 min read
Cracking Stack and Queue LeetCode Problems: A Step-by-Step Guide to Solving LeetCode Challenges

Cracking Stack and Queue LeetCode Problems: A Step-by-Step Guide to Solving LeetCode Challenges

5
Comments
4 min read
How to Use Context Manager Pattern in JavaScript for Efficient Code Execution

How to Use Context Manager Pattern in JavaScript for Efficient Code Execution

2
Comments
2 min read
Run Your Offline AI Chat: Pure Browser, No Backend

Run Your Offline AI Chat: Pure Browser, No Backend

12
Comments
7 min read
Bootstrap Basics

Bootstrap Basics

1
Comments
6 min read
The Art of Full Stack Debugging

The Art of Full Stack Debugging

19
Comments 1
7 min read
Configure Vitest, MSW and Playwright in a React project with Vite and TS - Part 3

Configure Vitest, MSW and Playwright in a React project with Vite and TS - Part 3

2
Comments
3 min read
A Top Navigation Menu for a Klondike Solitaire Game, That Changes Aspect on Mobile Devices

A Top Navigation Menu for a Klondike Solitaire Game, That Changes Aspect on Mobile Devices

Comments 1
4 min read
loading...