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.
10 Cool CodePen Demos (November 2025)

10 Cool CodePen Demos (November 2025)

2
Comments
2 min read
How I Built a Music Game in One Sunday (Powered by Tea, Chaos and AI 🤣🎧🔥)

How I Built a Music Game in One Sunday (Powered by Tea, Chaos and AI 🤣🎧🔥)

4
Comments 1
4 min read
Building a Password Checker with Vanilla JS (No Frameworks!)

Building a Password Checker with Vanilla JS (No Frameworks!)

Comments
5 min read
How to Mock Standalone Angular Services and RxJS Timers in Jest (Without Memory Leaks) With Best Practises Of Jest, Angular

How to Mock Standalone Angular Services and RxJS Timers in Jest (Without Memory Leaks) With Best Practises Of Jest, Angular

Comments
5 min read
How to Fix CORS Errors in MERN (The Secure Way)

How to Fix CORS Errors in MERN (The Secure Way)

7
Comments
3 min read
Building SVGs with the new Snap.svg (Basics - part 1)

Building SVGs with the new Snap.svg (Basics - part 1)

Comments
7 min read
5 Mistakes to Avoid When Learning React (From My Experience)

5 Mistakes to Avoid When Learning React (From My Experience)

Comments
3 min read
React2Shell: Understanding the Critical RCE Vulnerability in React Server Components (CVE-2025-55182)

React2Shell: Understanding the Critical RCE Vulnerability in React Server Components (CVE-2025-55182)

2
Comments
9 min read
I Fixed AI Coding Assistants with Real-Time npm & CVE Data (DevTrends MCP)

I Fixed AI Coding Assistants with Real-Time npm & CVE Data (DevTrends MCP)

Comments
2 min read
'JS & React "Silent Killers": Implicit Returns & Stale State'

'JS & React "Silent Killers": Implicit Returns & Stale State'

Comments
4 min read
How to Access Both Company and Personal GitHub Repositories On The Same Machine

How to Access Both Company and Personal GitHub Repositories On The Same Machine

5
Comments 1
5 min read
🚀 Writing cleaner, scalable JavaScript starts with small habits.

🚀 Writing cleaner, scalable JavaScript starts with small habits.

2
Comments
2 min read
🚀 Introducing httplet: A Simple HTTP Server with Clean Semantics

🚀 Introducing httplet: A Simple HTTP Server with Clean Semantics

Comments
1 min read
Unleashing the Power of TypeScript Utility Types

Unleashing the Power of TypeScript Utility Types

Comments
2 min read
If-Else and Switch Case Statement!

If-Else and Switch Case Statement!

1
Comments
1 min read
Examples of If conditions in JavaScript

Examples of If conditions in JavaScript

1
Comments
1 min read
How JavaScript Works: The Runtime Environment

How JavaScript Works: The Runtime Environment

2
Comments
4 min read
⚡10 Low-Effort, High-Impact Web Performance Tips

⚡10 Low-Effort, High-Impact Web Performance Tips

Comments
1 min read
🎂 I Built a Birthday Website Template — Anyone Can Use It to Surprise Their Friends!

🎂 I Built a Birthday Website Template — Anyone Can Use It to Surprise Their Friends!

2
Comments
1 min read
🧩 JSFuck — JavaScript Using Only 6 Characters

🧩 JSFuck — JavaScript Using Only 6 Characters

Comments
2 min read
Master the Java String join() Method: A 2025 Guide with Examples & Best Practices

Master the Java String join() Method: A 2025 Guide with Examples & Best Practices

Comments
6 min read
I Built a time card calculator Because Calculating Work Hours Shouldn’t Be This Hard

I Built a time card calculator Because Calculating Work Hours Shouldn’t Be This Hard

1
Comments
4 min read
Master Java indexOf(): Your Ultimate Guide to Finding Strings

Master Java indexOf(): Your Ultimate Guide to Finding Strings

Comments
6 min read
Web-Thread Lightbox: Zero-Dependency JavaScript Gallery Lightbox Library

Web-Thread Lightbox: Zero-Dependency JavaScript Gallery Lightbox Library

Comments
1 min read
visibilitychange: Ever wondered how your browser knows when you leave a tab?

visibilitychange: Ever wondered how your browser knows when you leave a tab?

Comments
2 min read
loading...