The Browser Object Model (BOM) is the core of JavaScript on the web. The BOM provides you with objects that expose the web browser’s functionality.
Section 1. Window
- Window – understand the
window
object. - Alert – display an alert dialog.
- Confirm – display a modal dialog with a question.
- Prompt – prompt the user to input some text.
- setTimeout – set a timer and execute a callback function once the timer expires.
- setInterval – execute a callback function repeatedly with a fixed delay between each call.
Section 2. Location
- Location – manipulate the location of a document via the
location
object. - Get query string parameters – learn how to retrieve query string parameters.
- Redirect to a new URL – show you how to redirect to a new URL using JavaScript.