Wednesday, April 14, 2010

Extra Credit 1 - String Variable

LABAR
Extra Credit Project 1
This Extra Credit assignment 1, part 1 of the Variable, (on page
3 of PL's note),
is to be done during your one hour lab by arrangement (LABAR). This javascript assignment requires you to familiar with the string variable.

You are to work with the string variables in the following 4 steps:
  • Frist Step: declare a string variables, and assign an initial value.
  • Next Step: change the string variable value.
  • Then, input from user a new value to another string variable.
  • Last Step, combine the input value with the existing variable value.
You have to print out, using the document.write, the value of the string value of all the above 4 steps.


Please submit your javascript work in .html file through webCT-assignment.
Note: The following envelope HTML code has to be included for the
.html file in order for your javascript to execute correctly:


Example

No comments:

Post a Comment

 

comsc-100 Copyright © 2009 Gadget Blog is Designed by Ipietoon Sponsored by Online Business Journal