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
      link
      fedilink
      arrow-up
      17
      ·
      11 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
        ·
        11 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
          link
          fedilink
          arrow-up
          10
          ·
          11 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@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          11 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.