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.
React context

React context

6
Comments 2
2 min read
Poll UI Design using HTML CSS & JavaScript

Poll UI Design using HTML CSS & JavaScript

16
Comments 1
4 min read
Go Headless with Netlify CMS

Go Headless with Netlify CMS

74
Comments 2
11 min read
Lockdown Fun: Your Age In Binary

Lockdown Fun: Your Age In Binary

69
Comments 7
1 min read
How to create dynamic NextJS post thumbnails...like DEV.to!

How to create dynamic NextJS post thumbnails...like DEV.to!

38
Comments 1
9 min read
setTimeout & setInterval best practice

setTimeout & setInterval best practice

13
Comments
2 min read
A Wonderful Ban Command For Your Discord.js Bot

A Wonderful Ban Command For Your Discord.js Bot

5
Comments 1
6 min read
An Awesome Clear Command For Your Discord.JS Bot

An Awesome Clear Command For Your Discord.JS Bot

7
Comments
4 min read
React Table CRUD example using Hooks & react-table v7

React Table CRUD example using Hooks & react-table v7

79
Comments 4
5 min read
A full comparison of 6 JS libraries for generating PDFs

A full comparison of 6 JS libraries for generating PDFs

414
Comments 30
5 min read
Writing better conditional expressions in JavaScript

Writing better conditional expressions in JavaScript

61
Comments 6
4 min read
An Awesome Command Handler for your Discord.js Bot

An Awesome Command Handler for your Discord.js Bot

5
Comments
4 min read
How to Manage Multiple Threads in Node JS

How to Manage Multiple Threads in Node JS

122
Comments 12
6 min read
Learning react as a Vue developer

Learning react as a Vue developer

42
Comments 14
3 min read
Display Vue examples inside VuePress documentation

Display Vue examples inside VuePress documentation

8
Comments
2 min read
Contact form in material UI and firestore

Contact form in material UI and firestore

6
Comments
2 min read
Learning React

Learning React

57
Comments 8
6 min read
Hidden gems of the Chrome DevTools, Part 1: The Console API

Hidden gems of the Chrome DevTools, Part 1: The Console API

41
Comments
5 min read
If (all) else is complicated, switch to switch?

If (all) else is complicated, switch to switch?

25
Comments 30
1 min read
Database, Table and Column naming conventions

Database, Table and Column naming conventions

29
Comments 3
3 min read
Regex Cheat Sheet (Javascript Edition)

Regex Cheat Sheet (Javascript Edition)

11
Comments
2 min read
Using TypeScript Project References to share common code

Using TypeScript Project References to share common code

65
Comments 6
3 min read
Let's build a responsive navbar and hamburger menu using HTML, CSS, and Javascript.

Let's build a responsive navbar and hamburger menu using HTML, CSS, and Javascript.

489
Comments 67
4 min read
use-spinner - Show loading spinners for your asynchronous calls

use-spinner - Show loading spinners for your asynchronous calls

29
Comments 3
1 min read
JavaScript Classes Part-3

JavaScript Classes Part-3

9
Comments
3 min read
NodeJS Express Test-Driven API Development (TDD)

NodeJS Express Test-Driven API Development (TDD)

15
Comments
1 min read
230. Kth Smallest Element in a BST (javascript solution)

230. Kth Smallest Element in a BST (javascript solution)

6
Comments
1 min read
Using media queries with JavaScript

Using media queries with JavaScript

208
Comments 7
3 min read
Solving the Maintenance Nightmare with React Testing Library

Solving the Maintenance Nightmare with React Testing Library

66
Comments 2
4 min read
How to use Vercel Analytics with SvelteKit

How to use Vercel Analytics with SvelteKit

11
Comments
8 min read
How to learn JavaScript by doing coding tasks in a professional IDE with hints?

How to learn JavaScript by doing coding tasks in a professional IDE with hints?

27
Comments
2 min read
Create a reusable table with react, styled-components and compound components design pattern

Create a reusable table with react, styled-components and compound components design pattern

68
Comments 3
4 min read
Make an object from a 2D array of key-value pairs (bonus: it's a one-liner!)

Make an object from a 2D array of key-value pairs (bonus: it's a one-liner!)

5
Comments
1 min read
Deploy Rails API on Heroku and Vanilla JavaScript on Netlify

Deploy Rails API on Heroku and Vanilla JavaScript on Netlify

6
Comments 4
3 min read
Solution: Longest Valid Parentheses

Solution: Longest Valid Parentheses

31
Comments 4
4 min read
React useThrottle hook with usage example

React useThrottle hook with usage example

91
Comments 3
1 min read
Improving web performance and Lighthouse performance results

Improving web performance and Lighthouse performance results

137
Comments
3 min read
ETL: Transform Data with Node.js

ETL: Transform Data with Node.js

2
Comments 1
6 min read
Callbacks in Javascript

Callbacks in Javascript

3
Comments
3 min read
Refactoring IF, a real exercise

Refactoring IF, a real exercise

30
Comments 7
4 min read
#1 Getting started with Preact - Preact Series

#1 Getting started with Preact - Preact Series

9
Comments
2 min read
What a React developer needs to know in 2021

What a React developer needs to know in 2021

432
Comments 26
4 min read
Faster Vue App page load by lazy loading youtube and Vimeo embed

Faster Vue App page load by lazy loading youtube and Vimeo embed

10
Comments
2 min read
Understanding ESLint Configuration

Understanding ESLint Configuration

15
Comments 2
2 min read
Building a RESTful API with NestJS and MongoDB (Mongoose)

Building a RESTful API with NestJS and MongoDB (Mongoose)

161
Comments 22
8 min read
Herencia Prototipal en JavaScript con la ayuda de Shingeki no Kyojin

Herencia Prototipal en JavaScript con la ayuda de Shingeki no Kyojin

7
Comments
10 min read
5 neat JavaScript tips

5 neat JavaScript tips

370
Comments 28
3 min read
JavaScript Internals - Garbage Collection

JavaScript Internals - Garbage Collection

43
Comments
4 min read
Eslint vs Performance

Eslint vs Performance

7
Comments
2 min read
#3 Adding MongoDB to react-express-graphql project

#3 Adding MongoDB to react-express-graphql project

6
Comments
2 min read
Discovering Observer Web APIs

Discovering Observer Web APIs

17
Comments
6 min read
Use of for in loop

Use of for in loop

11
Comments
1 min read
JavaScript Array methods: Filter, Map, Reduce, and Sort

JavaScript Array methods: Filter, Map, Reduce, and Sort

38
Comments 4
5 min read
How to access localhost from the Internet?

How to access localhost from the Internet?

233
Comments 17
3 min read
For...of Loop Refactoring

For...of Loop Refactoring

7
Comments
1 min read
Write faster in the dev.to editor - adding a WYSIWYG and keyboard shortcuts! [hack 2]

Write faster in the dev.to editor - adding a WYSIWYG and keyboard shortcuts! [hack 2]

98
Comments 15
3 min read
5 things I'm thinking about when I check a Pull Request for accessibility

5 things I'm thinking about when I check a Pull Request for accessibility

139
Comments 5
5 min read
My javascript / tech / web development newsletter for 2021-04-03 is out!

My javascript / tech / web development newsletter for 2021-04-03 is out!

2
Comments
1 min read
WhatsUp - front-end framework based on ideas of streams and fractals

WhatsUp - front-end framework based on ideas of streams and fractals

28
Comments 4
6 min read
Getting started with Vue 3 + Pinia Store + TypeScript by building a Grocery List App

Getting started with Vue 3 + Pinia Store + TypeScript by building a Grocery List App

62
Comments 5
4 min read
loading...