10: Files, Args, and Variables

In this exercise you are going to use everything you know so far to create a larger script. I've started you off with a few lines of code that uses most of what you have learned so far. Your job is to take this code as far as you can in several ways:

  1. Add more to it, possibly from things you found in the file API from Exercise 9.
  2. Break it in creative ways.
  3. Make it more resistant to breaking.

You should attempt to do this yourself, and when you run out of ideas watch the video to see what I did.

The Code

Learn JavaScript Today

Register today for the Beginner Basics course and get the new releases by just paying the difference. There's also special discounts for existing customers when new courses are released.

Still Not Sure? Check out more curriculum!