JavaScript Browser Object Model - Exercise 2
Review the BOM behavior described in the question, then use the example to test your understanding.
// How can you read the browser viewport width?
const topic = 'bom';
console.log(topic);Review the BOM behavior described in the question, then use the example to test your understanding.
// What is the difference between innerWidth and outerWidth?
const topic = 'bom';
console.log(topic);Review the BOM behavior described in the question, then use the example to test your understanding.
// How can you navigate while replacing the current history entry?
const topic = 'bom';
console.log(topic);Review the BOM behavior described in the question, then use the example to test your understanding.
// What does history.forward do?
const topic = 'bom';
console.log(topic);Review the BOM behavior described in the question, then use the example to test your understanding.
// How can pushState change the URL without reloading?
const topic = 'bom';
console.log(topic);Review the BOM behavior described in the question, then use the example to test your understanding.
// Why should popstate be handled in a single-page interface?
const topic = 'bom';
console.log(topic);Review the BOM behavior described in the question, then use the example to test your understanding.
// How can you open a new browser window?
const topic = 'bom';
console.log(topic);Review the BOM behavior described in the question, then use the example to test your understanding.
// Why can popup opening be blocked?
const topic = 'bom';
console.log(topic);Review the BOM behavior described in the question, then use the example to test your understanding.
// How can you detect whether the browser is online?
const topic = 'bom';
console.log(topic);Review the BOM behavior described in the question, then use the example to test your understanding.
// What does navigator.userAgent expose?
const topic = 'bom';
console.log(topic);