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

Thursday, April 18, 2013

Codecademy Sample Solution: All On Your Own!



<!DOCTYPE html>
<html>
    <head>
<title></title>
</head>
<body>
    <?php
        $GIjoe = 'Snake Eyes';
        switch($GIjoe):
            case 'Lady Jane':
                echo 'Baroness is hotter';
                break;
            case 'Duke':
                echo 'Dead in thirty minutes';
                break;
            case 'Snake Eyes':
                echo 'Silence is deadly';
                break;
            default:
                echo 'Bruce ain\'t no Joe';
        endswitch;
    ?>
</body>
</html>

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts