Glossary
What is JavaScript on a website?
JavaScript is the code that makes pages interactive: menus, sliders, forms, chat widgets. Why too much of it slows phones down.
Definition
JavaScript (also JS, script)
The programming language that runs in the browser to make pages interactive, from menus and forms to chat widgets and analytics.
In plain English
HTML and CSS describe the page; JavaScript makes things happen on it.
Example
Opening the mobile menu, a date picker on a booking form and a cookie banner all use JavaScript. So do trackers and chat widgets.
Why it matters to your business
Every script must be downloaded and run, and phones are slower at running it than laptops. Our website speed test shows how much JavaScript your page loads; remove widgets nobody uses.
Filed under Running your site
Next step
See how your own site does
Our free check looks at HTTPS, phones, software, speed basics and more in a few seconds.


