Assignment 7: Mine Sweeper
BackgroundPage 1 of 20

1. (Review Running JavaScript

We will run JavaScript using Firebug for the code examples.

Make sure you have your sandbox HTML file bookemarked (from last assignment). If you lost it, you can copy the following:

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  <html xmlns="" xml:lang="en" lang="en">
  	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

Make sure you reload the sandbox page when you want to refresh the context.


While you are on the sandbox page, you can use console.log to output code to the console.

Again, you need to refresh the page every time to refresh variables.

Debugging Techniques

Can be found on the bottom of this page.

Next Page

We will now review functions. Next Page

Assignment 7:
Mine Sweeper