JavaScript Lesson 3: Cool JavaScript background


For this lesson you will learn how to use JavaScript code to make a spacey background. To learn how to do this, go to:
jsmadeeasy.com/javascripts/Background%20Effects/space/space.

For this lesson you should create a web page, saved as "javascript3-your name.html" in your "html lessons" folder, that has the following:

  1. The basic tags every web page needs. (This is from lesson 1)
  2. The words "JavaScript Lesson 3" in the title bar.
  3. A large heading that says "This is JavaScript Lesson 3"
  4. Your name in bold letters
  5. By copying and pasting, place the JavaScript codes in the proper places. Don't forget the head and body codes.
  6. Change the body code so that it includes a backgound color code for black (like this: body bgcolor="#000000") so that the stars show up against the background.
On to JavaScript Lesson 4

Home to Web Design