JavaScript Essentials: Basic Browser Interaction

Developers looking to skill up in JavaScript and anyone with an interest in writing JavaScript code


Expected Duration
108 minutes

The primary method for running JavaScript on the client side is through the web browser. This course covers browser features, such as CSS, working with browser windows, getting information about users, and other browser manipulations.


Cascading Style Sheets

  • start the course
  • access the document object model and use it to set CSS properties
  • add and manipulate CSS styles by using JavaScript code
  • access a CSS style sheet using JavaScript
  • add a CSS style to a style sheet using JavaScript
  • remove a CSS style from a style sheet using JavaScript
  • disable and enable a style sheet

Interacting with the Browser

  • use getElementById to get and change the content of elements
  • use the window object to create new browser windows
  • use the History object to navigate the browser’s history
  • use the Alert, Prompt, and Confirm dialog boxes in JavaScript codes
  • use JavaScript to refer to and manipulate form values

Obtaining User Information

  • use the navigator object to retrieve and display browser properties
  • obtain user information by using JavaScript
  • retrieve a user’s location and redirect the user to another page
  • detect screen features using JavaScript
  • use document.cookie to store values for later use
  • find the value of a specific cookie

Manipulating Windows

  • resize windows by using the resizeBy and resizeTo methods in JavaScript
  • use the moveBy method in JavaScript to move a window, relative to its current location
  • use the moveTo method in JavaScript to move the window to a particular location
  • use JavaScript to close browser windows
  • use the replace method to change the document being used in a browser
  • use the scrollTo method to automatically scroll to a specific location





Multi-license discounts available for Annual and Monthly subscriptions.