HTML Document Object Model (DOM) in JavaScript

The DOM is an object-oriented representation of the website pages, which is modified with a scripting language JS. The DOM stand for Document Object Model. When a web page is loaded, the browser creates a DOM of the page. The DOM model is a tree of Objects. The DOM is a platform that allows programs and scripts to … Read more

Strict Mode in JavaScript

JAVACRIPT’s strict mode, introduced in ECMAScript 5, is a way to opt in to a restricted variant of JAVACRIPT. Strict mode is not just a subset: it intentionally has different semantics from all other normal code. Some browsers does not support strict mode. To run strict mode code with different behavior from browsers need to test for support for … Read more