> ## Documentation Index
> Fetch the complete documentation index at: https://blog.sumathi.dev/llms.txt
> Use this file to discover all available pages before exploring further.

#  DOM DOM Window object

* Window
  * DOM (Document object Model)
    * html page is made to object and is called DOM
    * window is a global object , we can use window\.console.log or console.log
    * document.body displays body as a object
      * ```js theme={null}
          console.log(document)
          console.log(document.body)
          document.body.style.background = "red" // to change colurs
        ```

  * BOM (Browser Object Model)
    * repersents additional objects provided by the browser (host environment maybe laptop, mobile) for working with everythng except the document
    * functions like alert/prompt/confirm are part of this , they are not part of nodejs
    * function like location.href = "[https://sumathi.dev](https://sumathi.dev)"

  * Javascript Core
