Javascript

JavaScript Intro

JavaScript Intro Quiz

JavaScript Intro Exercise

JavaScript Basic

JavaScript Basic Quiz

JavaScript Basic Exercise

JavaScript Advance

JavaScript Advance Quiz

JavaScript Advance Exercise

JavaScript ES6

JavaScript ES6 Quiz

JavaScript ES6 Exercise

JavaScript Array Methods and Properties

JavaScript String Methods and Properties

JavaScript Number Methods and Properties

JavaScript Math Properties and Methods

JavaScript Date Methods and Properties

JavaScript Global Methods and Properties

JavaScript RegExp Properties and Methods

JavaScript Class Methods and Keywords

JavaScript Errors, JSON and Booleans

JavaScript Statements

JavaScript Window History Object Properties and Methods

JavaScript Window Location Object Properties and Methods

JavaScript Window Screen Object Properties

JavaScript Window Navigator Object Properties and Methods

JavaScript Window Object Properties and Methods

JavaScript Console Object Methods

JavaScript Geolocation and Storage APIs

JavaScript CSSStyleDeclaration Object Methods and Properties

HTML DOM Documents Object Properties and Methods

DOM HTMLCollection Properties and Methods

HTML DOM Attributes Properties and Methods

HTML DOM Elements Properties and Methods

HTML DOM Style Object Properties

HTML DOM AnimationEvent Properties and Methods

HTML DOM ClipboardEvent Properties and Methods

HTML DOM DragEvent Properties and Methods

HTML DOM FocusEvent Properties and Methods

HTML DOM HashChangeEvent Properties and Methods

HTML DOM InputEvent Properties and Methods

HTML DOM KeyboardEvent Properties and Methods

HTML DOM MouseEvent Properties and Methods

HTML DOM PageTransitionEvent Properties and Methods

HTML DOM ProgressEvent Properties and Methods

HTML DOM StorageEvent Properties and Methods

HTML DOM TransitionEvent Properties and Methods

HTML DOM WheelEvent Properties and Methods

HTML DOM UiEvent Properties and Methods

HTML DOM TouchEvent Properties and Methods

The Event Object Properties and Methods

HTML DOM KeyboardEvent Properties and Methods

List of HTML DOM KeyboardEvent Properties and Methods

onkeydown Event in JavaScript
The onkeydown event fires when the user is pressing a key. It can be used with all HTML elements.
onkeypress Event in JavaScript
The onkeypress attribute fires when the user presses a key. It can be used with all HTML elements.
onkeyup Event in JavaScript
The onkeyup attribute fires when the user releases a key. It can be used with all HTML elements.
KeyboardEvent altKey Property in JavaScript
The altKey property is a read-only property and it is used to return a Boolean value that indicates whether the ALT key was pressed when a key event was triggered or not.
KeyboardEvent charCode Property in JavaScript
The charCode property is a read-only property and it is used to return Unicode character code of the key that triggered the onkeypress event.
KeyboardEvent code Property in JavaScript
The code property is used to return the key that triggered the event. However, it may return different values for different keyboard layouts.
KeyboardEvent ctrlKey Property in JavaScript
The ctrlKey property is a read-only property and it is used to return a Boolean value that indicates whether the CTRL key was pressed when a key event was triggered or not.
KeyboardEvent getModifierState() Method in JavaScript
The getModifierState() method is used to return true if the specified modifier key was pressed or activated else it will return false.
KeyboardEvent key Property in JavaScript
The key property is a read-only property and it is used to return the identifier of the key that was pressed when a key event occurred.
KeyboardEvent keyCode Property in JavaScript
The keyCode property is a read-only property and it is used to return Unicode character code of the key that triggered the onkeypress event.
KeyboardEvent location Property in JavaScript
The location property is a read-only property and it is used to return a number that indicates the location of a key on the keyboard or device.
KeyboardEvent metaKey Property in JavaScript
The metaKey property is a read-only property and it is used to return a Boolean value that indicates whether the META key was pressed when a key event was triggered or not.
KeyboardEvent shiftKey Property in JavaScript
The shiftKey property is a read-only property and it is used to return a Boolean value that indicates whether the SHIFT key was pressed when a key event was triggered or not.