What it is
JavaScript runs in the browser to respond to user actions without reloading the page. It also runs on servers through Node.js and powers frameworks like React and Vue.
Why it matters for your business
It enables rich experiences, but too much JavaScript slows sites down, especially on phones.
Real-world example
This knowledge base's live search uses a small amount of JavaScript to show results as you type.
Design Corner tip
Ask whether a feature truly needs heavy JavaScript; lighter sites perform better on mobile.