MUO

JavaScript

Readers like you help support MUO. When you make a purchase using links on our site, we may earn an affiliate commission. Read More.

latest

A green and white exit sign shows a stick figure leaving through a door with a large arrow pointing to the right.
How to Break JavaScript Loops and Why You Might Need To

A loop doesn't always have to complete to achieve its aim. In such cases, breaking out of a loop early can speed up your code.

By 
A man gestures as he reads from a notebook, standing in front of a large display of illustrated concepts relating to web technology, including HTML, wireframes, and servers.
What Is htmx and How Can It Simplify My Website?

htmx is nothing like HTML, but it can make it much more powerful.

By 
An illustration of a man sitting on a chair, with a thought cloud above his head, containing a calendar.
Creating an Interactive Timeline With CSS and JavaScript

Using the basic concepts of HTML, CSS, and JS, you’ll have an attractive timeline up and running in no time.

By 
Pile of books with open pages
How to Implement Pagination in a Vue Application

Master the core concepts behind pagination with this helpful library.

By 
An illustration of a person seated comfortably on a modern chair, engrossed in using their smartphone
How to Implement Infinite Scroll in a Web Application

Learn about the principles and practicalities of infinite scroll.

By 
Node.js and DynamoDB logo on a blurred coding screen background
Using AWS DynamoDB in a Node.js Application

Build this sample app to discover just how easy databases can be.

By 
A laptop on a desk showing a page of code on a dark background
How to Install the Java JDK in Windows 11

JDK is a development environment required to build Java applications. Learn how to install and run the JDK on Windows 11

By 
Laptop display with code on the screen and a pen holder with pens on the side.
How to Implement Infinite Scrolling and Pagination With Next.js and TanStack Query

Use these techniques to create usable interfaces for navigating data sets.

By 
Two metal fence panels joined by a chain with a large gap between them. In the gap is a green Node.js logo.
How to Read and Write JSON Files in Node.js

JSON is a very common data format, so it’s important to learn all about these common operations.

By 
Two people looking at a laptop screen, one pointing at it with their other hand on the keyboard.
How to Reuse Logic in Vue.js With Composables

Composables are a simple upgrade to mixins that you should start using with your Vue 3 apps right away.

By 
A vertical line separating two icons. On the left side is an icon representing a finger touching a screen. On the right side, an arrow icon represents a mouse pointer clicking on the screen.
How to Use Pointer Events in JavaScript

Why cater only to mouse input or touchscreens? Handle both types with the same amount of effort using pointer events.

By 
A laptop displaying markup in a text editor using a dark theme with bright primary colors.
Learn About Vue.js Watchers to Improve Your Web App Development

Use watchers to monitor changes and implement behavior more intuitively.

By 
Image of Node.js logo on a background displaying a computer screen with lines of code and a running terminal window
Compressing Images in Node.js With Sharp

Compressing images for your website or within your app can radically improve performance. Sharp does the heavy lifting.

By 
A simple line graph on paper, showing progress from past to future, with pens and a ruler lying on top.
How to Build a Simple Chart With Chart.js

Add great-looking charts and graphs to your website or app in a matter of moments.

By 
A blurry view of a tunnel disappearing quickly round a bend to the right.
An Introduction to Using Streams in Node.js

Streams in Node.js can be complicated, but it's worth taking your time to understand them.

By 
The word “API” surrounded by abstract icons
How to Secure GraphQL APIs: Implementing User Authentication in Express.js Using JWTs

Find out how JWTs offer a simple solution to the tricky issue of authentication.

By 
code editor opened on a laptop
Break Free From Vue Prop Drilling With Provide/Inject

Reduce boilerplate code and make your Vue apps more maintainable using this convenient alternative.

By 
Person holding css3 logo
How to Add Dark Themes in Vue Apps With CSS Variables

Learn about CSS variables and the LocalStorage API with this practical Vue project.

By 
Image of Node.js logo on a blurred background displaying a computer screen with lines of code and a running terminal window
How to Build a CLI Application in Node.js

Learn how to build a program with a standard command-line interface using this helpful library.

By 
The Angular logo, a large white letter A on a red abstract shape looking roughly like a shield
How to Build Custom Directives in Angular

Angular's custom directives offer a robust mechanism for modifying the DOM and incorporating dynamic behavior into your templates.

By 
See more articles +