if else statement, switch case, for, while,do while, break, continue all are used in control flow statement because those things take actions based on condition.
The Document Object Model (DOM) is an application programming interface (API) for manipulating HTML and XML documents.The DOM represents a document as a tree of nodes. It provides API that allows you to add, remove, and modify parts of the document effectively. Selecting elements,Traversing elements,Manipulating elements,working with Attributes,Manipulating Elements’s Styles, Working with Events,Scripting web form.
Storage interface of the Web Storage API provides access to a particular domain's session or local storage. It allows, for example, the addition, modification, or deletion of stored data items.To manipulate, for instance, the session storage for a domain, a call to
Window.sessionStorage is made; whereas for local storage the call is made to
Window.localStorage.Property like storage.length and method storage.getItem() , storage.setItem() , storage.removeItem,storage.clear() .
Thanks for reading……