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

Wednesday, December 19, 2012

Codecademy Sample Solution: Codeyear Having Options



<html>

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

    <body>
   <form name="tempForm">
            <label for="temp">Temperature:</label>
            <input type="text" id="temp"><br>

            <input type="radio" name="choice" value="fahrenheit" checked>Convert to Fahrenheit <br>
            <input type="radio" name="choice" value="celsius">Convert to Celsius <br>

            <label for="resultField">Result: </label>
            <input type="text" id="resultField"><br>

            <input type="button" value="Convert" onclick="processForm()">
        </form>

    </body>

</html>

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts