1. 2 points: Write a javascript statement to prompt a user for a zipcode. Assign the result to the variable zip_code and use a default value of 37996.

  2. 1 point: What value gets returned by parseInt if a string cannot be converted to an integer?

  3. 2 points: Suppose you have the zipcode stored in the zip_code variable and you want to create a dialog box with the message:
         zipcode: value
         
    where value is the value of zipcode. Write the Javascript statement to accomplish this task.
solutions