Davies Meyer – home
    Tech3 min read

    JavaScript

    JavaScript is a programming language. In a browser it can respond to input, update content or request data, for example. It is also used outside browsers, such as on servers with Node.js. JavaScript and Java are different languages.

    JavaScript explained

    is useful on a website when it supports a concrete interaction: filtering suitable products, displaying a selected date range or updating upload status. , structure and design remain distinct tasks. Not every page needs the same amount of code.

    Quality depends on the journey. After a dynamic update, people need to understand what happened. Error messages, keyboard operation and focus therefore belong to the concept. If a script or data request fails, the behaviour should remain understandable.

    Additional code must be transferred and executed. Check on relevant devices which functions are needed and what work occurs during loading and interaction. A single-page application is not automatically faster than another architecture; the implementation matters.

    Variants, personalisation and measurement can also be implemented in different ways, including server-side methods. JavaScript is one possible component, not evidence of precise tracking or additional sales. Creative Engineering starts with the task and evaluates the finished interaction alongside total effort.

    Examples

    Hypothetical application

    A product filter updates the results without a full page reload. The team also tests an empty selection, a slow response and keyboard operation. A visible result count and understandable status message help people follow the change.

    Key Points

    • JavaScript is a language, not a particular framework.
    • Distinguish browser and server use.
    • Make dynamic changes understandable and operable.
    • Evaluate loading effort and outcomes against the real journey.

    Practical application

    Define required interactions and test them with slow responses, errors and different input methods. Keep the amount of code aligned with actual needs.

    Useful measures

    Correct interactions

    Test expected behaviour, including failure and empty states.

    Response to input

    Measure under documented conditions and check perceptible feedback.

    Maintenance effort

    Include dependencies, updates and changes across the useful life.

    Common mistakes

    • Equating programming languages, libraries and runtime environments.
    • Automatically describing a dynamic application as fast or accessible.
    • Inferring fixed conversion or ranking gains from technical implementation.

    Sources and context

    Frequently Asked Questions about JavaScript

    No. The similar names refer to different programming languages.

    Loading related terms…

    All Terms