|
This week we are continue practicing with javascript.
Part I, Data conversion: 1. Use the following java script example given below, to learn how to create javascript functions, use input values and display changes.
Here is the running script
(script1.php).
and here is a text version to look at:
(script1.php.txt).
2. You should remove the "Alert" box from the web-page.
3. Create 4 more conversions of your own - you can remove the F2C conversion and start from scratch or leave it in. Conversions can be on the same page or 4 separate pages, called from one master page.
4. Your conversion page should be added to your other web-experiments with a link from that page.
Part II, Finding an average: 1. Modify the "Average Script", shown on page 228 of our textbook. The new script should allow the user to enter as many number as they want, until the word "stop" is used. hint: The grade returned from the window is already a string. 2. Your "Average Script" page should be added to your other web-experiments with a link from that page. Turn in: |