WDV2221 Intro Javascript

Unit-5 Assignment - External JavaScript Functions with Parameters

Directions:

Problem 1

a. Create a global variable called totalSales. Assign it a value of 4375.6. It should be numeric data type.

Problem 2

a. Use the provided date functions and concatenation to display today's date in the following format Monday, January 2, 2018.

Today's date:

Problem 3

a. Use the provided date functions and concatenation to display today's date in the following format  2, January 2018.

Today's date:

Problem 4

a. Write a function to get the value out of the textToMask text box, use the provided maskValue function to display the masked results back in the same text box.