Sourcehut has No JavaScript as one of it’s selling points, so i was wondering why it would be better that way?

  • @Berserkware@lemmy.mlOP
    link
    fedilink
    41 year ago

    Thanks. I think I will remove the JavaScript from the website I am working on right now. I don’t really like JavaScript anyway.

    • @rysiek
      link
      61 year ago

      It has its place, but if it can be avoided, I believe it should. Basically, if something can be implemented using just HTML/CSS, it’s probably better to do it that way.

      Fun fact, I have a large JS-based project, because what the project aims to do is impossible without JS. But the website itself is almost completely JS-free, apart from the demos (which necessarily need to use the JS-based project itself).

      • @Berserkware@lemmy.mlOP
        link
        fedilink
        41 year ago

        Awesome. I have found a way to work my project without JavaScript, and it actually makes the back-end a lot cleaner.