Scoreling
Best practices

No JavaScript errors in the console

Low impact · weight 3 · worth up to 0.8 points of the total score

Why it matters

An error logged while the page loads usually means a script stopped halfway: a menu that does not open, a form that does not submit, an analytics tag that records nothing. Visitors never see the message, only the broken behaviour.

How to fix it

Open the browser console on the page and fix the first error listed; later ones are often caused by it. A failing third-party tag can be removed or loaded with async.

Check a page for this, and the other 70 checks at once

More Best practices checks

See all checks