Assignments    Calendar/Schedule    Table of Contents    Resources    |    MY Assignments    My COIN 70b Home

Martha's COIN 70b Assignment 121

Prompts and String Methods

Instructions: Create a script where someone can type into the prompt() dialog box either http://www.address.com or just www.address.com. If they do the latter, have JavaScript figure it out and append http:// to the front of what they typed. Display the results (http://www.address.com) as an active hyperlink on a document page. Hints: String Content Methods & HTML String Methods - Example

RETURN