If you are looking at MDN Web docs and you are confused, look at w3schools.

If you are looking at w3schools and you are confused, look at MDN Web docs.

Repeat as many times as needed

    • TxzK@lemmy.zip
      link
      fedilink
      arrow-up
      17
      ·
      10 months ago

      Yeah. w3schools sucks imo. It’s full of outdated or incomplete information. MDN not only gives more up to date info, it’s also more comprehensive. Sometimes it also gives some good guidelines to wether use something or use an alternative etc.

      • pcouy@lemmy.pierre-couy.fr
        link
        fedilink
        arrow-up
        15
        ·
        10 months ago

        I totally agree with w3schools being bad. However, when teaching web dev to beginner students, they usually find the MDN hard to understand and turn to w3schools.

        The MDN requires either quite a lot of experience reading documentation, or being shown how to navigate it.

        • TxzK@lemmy.zip
          link
          fedilink
          arrow-up
          10
          ·
          10 months ago

          Yeah, that’s because MDN isn’t a site for tutorial site, it’s a documentation site. I won’t say I have much experience in reading documentation, I don’t, but I still find MDN easy to read/navigate tbh. And also, w3schools is where I started learning JavaScript as well actually. Then I found MDN, learned about ES6 and cursed tf out of w3schools for teaching me outdated shit. Maybe it’s better these days idk. So if you’re a beginner, w3schools might be better choice than MDN otherwise no

        • Nommer
          link
          fedilink
          arrow-up
          2
          ·
          10 months ago

          It took me a long time to start understanding MDN but now that I kind of have a feel for reading docs it’s a bit better although I still miss bits of info and sometimes struggle to understand the examples.

  • fidodo@lemmy.world
    link
    fedilink
    arrow-up
    17
    ·
    10 months ago

    Did they get their act together? Because the w3 schools I grew up with was outdated, incomplete, and inaccurate.

    • Potatos_are_not_friends@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      10 months ago

      When I checked in 2019, they definitely cleaned up.

      But I still won’t use them as primary resource. Not even secondary.

      If I was a noobie dev today, I’d rather ask AI and get sources.

      • Nommer
        link
        fedilink
        arrow-up
        4
        ·
        10 months ago

        It’s what I do. MDN first, chatgpt second. Everything else is third.

    • Fin@lemmy.ml
      link
      fedilink
      Bahasa Indonesia
      arrow-up
      2
      ·
      10 months ago

      I’m laughing out loud here, cow’s teat 😂

  • damnthefilibuster@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    10 months ago

    W3s is where is starts for me. Then move to MDN for more specific and in depth things. W3s just gives the best examples and has that lovely playground for every documentation step.

  • Victor@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    10 months ago

    Just want to drop devdocs.io here for anyone who might benefit. It’s an aggregation of many different popular documentation works from different projects. All in one place. One tab. Imagine one tab of documentation.

  • pastermil
    link
    fedilink
    arrow-up
    4
    ·
    10 months ago

    Don’t forget the documentation of your web framework as well as the language features!