Foothill Coin70: Assignment Set 1
121
Create a script where someone can type into the prompt() dialog box an Url. The user may omit the scheme of an http Url. The script displays the Url (eg: http://www.amazon.com) as an active hyperlink on a document page.
122
Create a script where you prompt the user for a color (red, blue, or green) and then prompt() for her or him for a sentence. Take the user's input and write out the sentence to the document in the color the user chose. Furthermore, also make the sentence bold.
Note: for a slightly more advanced solution, see: 122.advanced.

123
How would you customize the output in (teacher's site) 123 to include the user's name in both the alert box & the document?
124
Extend (teacher's site) 124 so that if users answer correctly they have the choice to answer a second question, but if they get the answer wrong give them a second chance to answer the same question again. [Note: users that accept a second question will not have a second chance to answer it].

r.parolari@mac.com



[URL: ; Last updated: ]