Quotes help make search much faster. Example: "Practice Makes Perfect"

Sunday, December 16, 2012

Codecademy Sample Solution: Codeyear Submitting Our Trip Info



<html>
    <head>
        <script type="text/javascript" src="script.js"></script>
    </head>

    <body>
        <form name="myTravelForm">
            <label>First Name:</label>
            <input type="text" name="firstname">
            <label>Last Name:</label>
            <input type="text" name="lastname" />
           
        <select name="destination">
            <option value="Antarctica">Antarctica</option>
            <option value="Costa Rica" selected>Costa Rica</option>
        </select>
            <input type="button" value="Add this traveler" onClick="processTravelForm()"/>
        </form>

    </body>
</html>

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts