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.
821. Shortest Distance to a Character (javascript solution)

821. Shortest Distance to a Character (javascript solution)

7
Comments
1 min read
A Hands-on Introduction to Fine-Grained Reactivity

A Hands-on Introduction to Fine-Grained Reactivity

285
Comments 23
8 min read
Median of Dynamic Stream of Integers

Median of Dynamic Stream of Integers

4
Comments
3 min read
How to make a star rating with JS ⭐ ⭐ ⭐ ⭐ ⭐

How to make a star rating with JS ⭐ ⭐ ⭐ ⭐ ⭐

32
Comments 3
3 min read
React - how to make left-side animated menu

React - how to make left-side animated menu

128
Comments 7
2 min read
Are you sure you know how an event propagates in JavaScript?

Are you sure you know how an event propagates in JavaScript?

360
Comments 15
5 min read
JavaScript Interview Question #25: Immediate Promise.resolve

JavaScript Interview Question #25: Immediate Promise.resolve

31
Comments
1 min read
Some important HTML tags, one should know about

Some important HTML tags, one should know about

105
Comments 3
2 min read
Angular route: pathMatch='full', when to NOT use?

Angular route: pathMatch='full', when to NOT use?

14
Comments 2
4 min read
Javascript: DOM Manipulation 101

Javascript: DOM Manipulation 101

55
Comments 1
4 min read
How I Fixed The Unexpected Token Error In Jest

How I Fixed The Unexpected Token Error In Jest

75
Comments 21
5 min read
Top skills you need to master angular 👨‍💻

Top skills you need to master angular 👨‍💻

51
Comments 5
6 min read
Parsing WordPress Block Data

Parsing WordPress Block Data

17
Comments
7 min read
Build an E-Commerce Website with MERN Stack - Part 7 (Finishing the Project)

Build an E-Commerce Website with MERN Stack - Part 7 (Finishing the Project)

32
Comments 4
6 min read
Node.JS - Foal framework - Version 2.2 is here

Node.JS - Foal framework - Version 2.2 is here

14
Comments
2 min read
Solution: Divide Two Integers (ver. 2)

Solution: Divide Two Integers (ver. 2)

7
Comments
3 min read
The 5 best open-source form builders to add to your tech stack in 2021

The 5 best open-source form builders to add to your tech stack in 2021

100
Comments 6
8 min read
JavaScript Interview Question #26: Are these dates equal?

JavaScript Interview Question #26: Are these dates equal?

20
Comments
1 min read
Chart of Backend Web Frameworks 2021

Chart of Backend Web Frameworks 2021

36
Comments 7
2 min read
How to render emojis with JavaScript

How to render emojis with JavaScript

2
Comments
1 min read
How to create an NPM Package in 5 minutes

How to create an NPM Package in 5 minutes

8
Comments
1 min read
Partial and complete validation of the form with Joi on React

Partial and complete validation of the form with Joi on React

22
Comments
2 min read
Image Library

Image Library

3
Comments
9 min read
Turn your website into SPA with barba js

Turn your website into SPA with barba js

8
Comments
2 min read
Documenting your ExpressWebJs API with Swagger

Documenting your ExpressWebJs API with Swagger

50
Comments
3 min read
The Difference Between i++ and ++i (Postfix vs. Prefix)

The Difference Between i++ and ++i (Postfix vs. Prefix)

38
Comments 2
2 min read
Show Dev: A VSCode Snippet to Write JS Arrow Function Really Fast

Show Dev: A VSCode Snippet to Write JS Arrow Function Really Fast

3
Comments
1 min read
(Javascript) My learning journey: String and more

(Javascript) My learning journey: String and more

8
Comments
2 min read
React + Tailwind

React + Tailwind

55
Comments 5
2 min read
React - create simple animated progress bar

React - create simple animated progress bar

113
Comments 4
2 min read
Domain-Driven Hexagon: Guide on Domain-Driven Design, Hexagonal architecture, best practices (TypeScript and NestJS examples)

Domain-Driven Hexagon: Guide on Domain-Driven Design, Hexagonal architecture, best practices (TypeScript and NestJS examples)

58
Comments 8
2 min read
Split Testing With Netlify

Split Testing With Netlify

34
Comments
4 min read
Redux in one line...

Redux in one line...

6
Comments 4
1 min read
Examples for reversing a string in JavaScript, Python and Dart

Examples for reversing a string in JavaScript, Python and Dart

25
Comments 4
2 min read
My javascript / tech / web development newsletter for 2021-02-27 is out! Javascript Core Special Edition! 💯

My javascript / tech / web development newsletter for 2021-02-27 is out! Javascript Core Special Edition! 💯

3
Comments
1 min read
How to synchronize Strapi cron tasks

How to synchronize Strapi cron tasks

6
Comments 3
5 min read
(Javascript) My learning journey: Spread Operator and REST Pattern

(Javascript) My learning journey: Spread Operator and REST Pattern

21
Comments
2 min read
A simple multi-player online game using node.js - Part IV

A simple multi-player online game using node.js - Part IV

25
Comments
11 min read
CSS Modules vs CSS-in-JS. Who wins?

CSS Modules vs CSS-in-JS. Who wins?

264
Comments 26
5 min read
Structural sharing with 7 lines of JavaScript.

Structural sharing with 7 lines of JavaScript.

28
Comments 8
5 min read
How To: Use LocalStorage with React

How To: Use LocalStorage with React

28
Comments 2
3 min read
Todoist + Canvas = Awesomeness

Todoist + Canvas = Awesomeness

8
Comments
5 min read
Project 50 of 100 - Firebase Sign Up and Login with React Router

Project 50 of 100 - Firebase Sign Up and Login with React Router

48
Comments 9
4 min read
Simply way to write PHP output in Javascript console.log

Simply way to write PHP output in Javascript console.log

8
Comments
1 min read
7 JavaScript ES2020 Features You Should Try

7 JavaScript ES2020 Features You Should Try

175
Comments 10
9 min read
How to convert a Set to an Array? – JavaScript

How to convert a Set to an Array? – JavaScript

5
Comments
1 min read
A simple multi-player online game using node.js - Part II

A simple multi-player online game using node.js - Part II

22
Comments
10 min read
🚀 Svelte Quick Tip: Create a tooltip action using Tippy.js

🚀 Svelte Quick Tip: Create a tooltip action using Tippy.js

44
Comments 6
5 min read
A simple multi-player online game using node.js - Part III

A simple multi-player online game using node.js - Part III

16
Comments
10 min read
88. Merge Sorted Array (javascript solution)

88. Merge Sorted Array (javascript solution)

7
Comments 1
1 min read
How to use React Native Geolocation to get Postal Address

How to use React Native Geolocation to get Postal Address

20
Comments
8 min read
React File Upload with drag-n-drop and progress bar

React File Upload with drag-n-drop and progress bar

51
Comments 9
1 min read
Boost your React application’s performance by Xstate

Boost your React application’s performance by Xstate

13
Comments 1
5 min read
JavaScript Interview Question #24: Adding new properties to JS strings

JavaScript Interview Question #24: Adding new properties to JS strings

14
Comments 2
1 min read
Deploying Salesforce and Heroku Apps with Ease

Deploying Salesforce and Heroku Apps with Ease

7
Comments
11 min read
What If Every Color Is Given Its Own Name? Here It Is!

What If Every Color Is Given Its Own Name? Here It Is!

12
Comments 6
1 min read
Rename that identifier. Quick tip.

Rename that identifier. Quick tip.

4
Comments 1
1 min read
Upgrade Husky to Latest Version

Upgrade Husky to Latest Version

17
Comments
2 min read
Javascript - Prototypes

Javascript - Prototypes

8
Comments 2
4 min read
🚀 Svelte Quick Tip: Adding basic internationalization (i18n) to you app

🚀 Svelte Quick Tip: Adding basic internationalization (i18n) to you app

39
Comments 1
5 min read
loading...