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

      Sure, but there is nothing jQuery can do that basic JS can’t, just with extra steps.

      I was working in an environment where jQuery (or other frameworks for that matter) couldn’t be used, so I had to cut my own path most of the time. I learned a lot about JS and CSS that probably would have been obscured away behind jQuery and Bootstrap had I not had those restrictions.

      If someone is asking for a solution in a particular way, there is often a reason. Too many people skip that and provide it in what they know or are currently using, instead of what the user needs. These days I can imagine someone needing help changing the text on a button and someone telling them they need React, with some overly complicated solution to just and prove how smart they are, when all the user needed was how to set the innerHTML on their button element.

      • bouh@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Oh I agree that questions are two often badly answered! The exemple of “why don’t you use this instead” is the worst offender. I didn’t understand you were talking about this, and I’m still traumatised by javascript after 14 years.