Cheat Sheet for the modern DOM API

Updated . Posted . Visible to the public. Repeats.

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

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.

Arne Hartherz
Last edit
Emanuel
License
Source code in this card is licensed under the MIT License.
Posted by Arne Hartherz to makandra dev (2019-02-06 08:14)