×

JavaScript Important Methods & Properties Cheatsheet

Hello Everyone,

Here is the list of important methods and properties in JavaScript. in this tutorial we are going to cover the following topics:

  1. DOM Node Properties
  2. DOM Node Methods
  3. DOM Element Methods
  4. Window Properties
  5. Window Methods
  6. Screen Properties
  7. JavaScript Mouse Events
  8. JavaScript Keyboard Events
  9. JavaScript Frame Events
  10. JavaScript Form Events
  11. JavaScript Drag Events
  12. JavaScript Clipboard Events
  13. JavaScript Media Events
  14. JavaScript Animation Events
  15. JavaScript Other Events
  16. Errors
  17. Error Name Values
  18. Quantifiers

DOM Node Properties

DOM Node Methods

DOM Element Methods

Window Properties

Window Methods

Screen Properties

JavaScript Events

Events are things that can happen to HTML elements and are performed by the user. The programming language can listen for these events and trigger actions in the code. No JavaScript cheat sheet would be complete without them.

Mouse

Keyboard

Frame

Form

Drag

Clipboard

Media

Animation

Other

Errors

When working with JavaScript, different errors can occur. There are several ways of handling them:

Error Name Values

JavaScript also has a built-in error object. It has two properties:

The error property can return six different values as its name:

Quantifiers

If this is helpful for you, then let us know in the comment.

Thanks,
CapsCode