• AJMaxwell@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    HTML adds structure to data and CSS adds visual styling to HTML data. The only way to make that data interactive, or have it perform other complex tasks is with Javascript. JS is a scripting language which is a subset of programming languages.

    Buttons, links, etc only move you from one piece of data to another via the browser. HTML cannot and does not perform any actions itself.