Read more

Cheat Sheet for the modern DOM API

Arne Hartherz
February 06, 2019Software engineer at makandra GmbH

See the attached link for a useful overview of modern (and classic) DOM API methods, like matches, contains, append, cssText, etc.

Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
Read more Show archive.org snapshot

You will still need to look up some documentation, e.g. on how to modify a ClassList, but it's still better than browsing interfaces and superclasses of Element on MDN without knowing what to look for.

When coming from jQuery, also see the card on JavaScript without jQuery. This card includes a link to You Don't Need jQuery Show archive.org snapshot , which summarizes most of the alternatives in native Javascript implementation to jQuery methods.

Posted by Arne Hartherz to makandra dev (2019-02-06 09:14)