DEV Community 👩‍💻👨‍💻

Web Development

Because the internet...

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Get viewport width and height in JavaScript (with examples)

Get viewport width and height in JavaScript (with examples)

Reactions 1 Comments
2 min read
About “__dirname is not defined in ES module scope” in JavaScript

About “__dirname is not defined in ES module scope” in JavaScript

Reactions 1 Comments
2 min read
How to get yesterday’s date in JavaScript without a library

How to get yesterday’s date in JavaScript without a library

Reactions 1 Comments
2 min read
Subtract days from a date in JavaScript without a library

Subtract days from a date in JavaScript without a library

Reactions 1 Comments
3 min read
How to add days to a date in JavaScript (without a library)

How to add days to a date in JavaScript (without a library)

Reactions 1 Comments
3 min read
7 Free Public APIs you will love as a developer💖

7 Free Public APIs you will love as a developer💖

Reactions 13 Comments
3 min read
Get the day of the week in JavaScript without a library

Get the day of the week in JavaScript without a library

Reactions 2 Comments
3 min read
JavaScript double exclamation mark explained (with examples)

JavaScript double exclamation mark explained (with examples)

Reactions 2 Comments
4 min read
Javascript if/else shorthand explained (with common uses cases)

Javascript if/else shorthand explained (with common uses cases)