DEV Community 👩‍💻👨‍💻

Beginners

"A journey of a thousand miles begins with a single step." -Chinese Proverb

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
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