• Go-On-A-Steam-Train@lemmy.ml
    link
    fedilink
    arrow-up
    10
    ·
    18 days ago

    Hmm…this has me thinking, maybe I’ll change up my Hugo site a little, so that there’s no dropdown menu - it’s the only thing javascript is needed for.

    Thank you for this, some points that I’d not even considered, and a helpful reminder to myself to try and get that javascript from 99% to 100% unused. :)

  • MonkderVierte@lemmy.ml
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    18 days ago

    People should not be prioritizing no-JS users. No one turns off JavaScript.

    If you keep the JS to a minmum, you have

    1. less work maintining that shit, HTML/CSS is patient
    2. better user experience

    So much forms and textboxes don’t save content anymore after a reload, because it’s dynamically loaded from somewhere or even a <div> frame handled entirely by JS. Buttons/Checkboxes that don’t work, it’s sad.

  • somegeek@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    17 days ago

    Couldn’t agree with this more.

    Every time I create a website, I first create it with only HTML. If it looks right and makes sense, then I will add CSS. If it looks good and works fine, then I will add JS.

  • tauren@lemm.ee
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    5
    ·
    18 days ago

    A lot of people who shared this sentiment were hung up on the idea that “no one turns off JS.” But some people do, for a variety of good reasons!

    What % are we talking about? 50%, 25%, 10%, 1%, 0.1%? People make choices, but those are their choices. I need to get the job done and I can’t cater to everyone’s needs.

    • Corbin@programming.dev
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      18 days ago

      Forget about your job for a moment. In general, why are you willing to set a threshold on how accessible your work is? I urge you to forget about how callous your employer wants you to be.

      • tauren@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        6
        ·
        18 days ago

        You call people callous for using js? 😂 Sorry, I’m not interested in a conversation with a fanatic because that kind of arguments have zero value.

  • masterspace@lemmy.ca
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    7
    ·
    edit-2
    18 days ago

    Lmao, oh yes, let’s go back to the golden age of every app having all of its logic running on centralized servers, rather being able to easily create cross platform client side distributed applications.

    The “no-js” philosophy is fundamentally at odds with a future of distributed, OS agnostic, application development.

    It remembers the web when the web was simpler, and ignores that that was the era of dll hell and applications being locked to specific OSes. The modern web is the most successful cross platform development framework by orders of magnitude,it’s all based on open internationally agreed on standards, and it is vastly simplifying and detangling the overall computing environment / platforms that we used to be locked to.

    Just use a framework like Nextjs or it’s open source off shoots / clones and get the best of both static pre rendering and dynamic on the fly rendering.