JavaScript is the scripting language of the web. It provides rich interactivity and dynamic content for web applications. With it, you can build user experiences that can help users accomplish complex tasks, store user data, and more. Here, you can peruse our collection of JavaScript content and learn a variety of concepts and techniques to help you improve your JavaScript skills.
If you're new to JavaScript, we've got you covered. Our Learn JavaScript course teaches the ins and outs of JavaScript, helping you to get up to speed.
Learn about the latest JavaScript features that are newly available in all major browser engines.
JavaScript provides many features to help you build applications that respond to the needs of your users.
Interaction to Next Paint (INP) is an important responsiveness metric that measures page responsiveness. These guides contain JavaScript tips to help you keep your pages responsive to users.
Third-party JavaScript can be a cause of performance issues in web applications. Learn how to manage third-party scripts to keep your web applications fast.
Check out these JavaScript patterns you can use to quickly accomplish common tasks in your web applications.
COURSE

If you're new to JavaScript, we've got you covered. Our Learn JavaScript course guides you through how JavaScript works, beginning with the basics such as variables, functions, and conditional statements. From there, you'll tackle more complex topics such as prototypal inheritance, classes, and other topics to help you hone your JavaScript skills so that you can build rich web applications.

Baseline signals to web developers when web platform features can be safely used in all major browser engines. Here are some JavaScript features that are now Baseline Newly available.

Resizable ArrayBuffer became Baseline Newly available in July 2024.
Set methods became Baseline Newly available in June 2024.
CustomStateSet became Baseline Newly available in May 2024.
The Screen Wake Lock API became Baseline Newly available in May 2024.
intl.Segmenter became Baseline Newly available in April 2024.
promise.withResolvers() became Baseline Newly available in March 2024.
groupBy() functions became Baseline Newly available in March 2024.
The ArrayBuffer transfer() and transferToFixedLength() methods became Baseline Newly available in March 2024.
Array.fromAsync() became Baseline Newly available in January 2024.

JavaScript gives you a lot of tools to help you build applications that respond to the needs of your users. Here are some common features might want to use in your web applications that are worth knowing about!

Promises allow you asynchronously execute code after a certain event occurs.
The fetch API allows you to make HTTP requests to fetch data from the web on the front end.
The IndexedDB API offers client-side storage of structured data, including files and blobs.

How you use JavaScript can have an effect on your web application's Interaction to Next Paint (INP). These guides will help you to get a handle on page repsonsiveness issues caused by JavaScript.

Long tasks on the main thread can cause your web application to be unresponsive. Learn how to optimize long tasks to improve your web application's INP.
Long input delays occur when users interact with a page and the browser takes too long respond—and JavaScript can be a common culprit. Read this guide and learn how you can keep input delays shorter and your web application snappier.
When scripts are downloaded during page load, they can cause long tasks that can affect your web application's INP. Learn how to optimize for long script evaluation tasks to keep your INP low.
Not everything needs to run on the main thread. If you have large batches of work that take a long time to run, you can offload them to web worker threads to keep your web application as responsive as it can be.
A common performance problem on the web involves the use of third-party JavaScript, which can cause pages to load more slowly and even cause problems with page responsiveness. Check out these guides to get a handle on some common third-party JavaScript performance problems.
Find out how third-party JavaScript can affect performance and what you can do to keep it from slowing down your sites.
Supercharge your performance detective skills with Lighthouse and Chrome DevTools.
Learn how to load third-party JavaScript efficiently so you can improve the performance of your web applications.
Learn how to optimize tags and tag managers for Core Web Vitals, so that these useful tools have the least impact on your web application's performance.

Check out these patterns you can use to quickly accomplish common tasks in your web applications using JavaScript.

Check out these patterns to accomplish common tasks in your web applications.
Learn patterns for working with files and directories in JavaScript.
Learn how to use Clipboard APIs in JavaScript to provide copy and paste functionality in your web applications.