JavaScript Assignment #17

Opening and Closing a New Window

This assignment introduces the concepts of opening and closing new window in JavaScript.

  1. Create a basic page in html with an image in it.
  2. When the user click on the image, open a new tab or window that displays the Google home page.
  3. Add a form button beneath the image labeled 'Close'
  4. When the button is clicked the new tab or window closes

You can find examples of windows here.

Next assignment ... Assignment #18