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

Thursday, December 13, 2012

Codecademy Sample Solution: Codeyear I can guess the number...



<style>
    #card{
        width: 124px;
        height: 168px;
        background-image: url('http://hosturl.co.uk/cc/cb.png');
    }
    #card:hover{
        background-image: url('http://hosturl.co.uk/cc/cf.png');
    }
</style>

<div>
    <h1>I can guess the number you are thinking of</h1>
    <p>Follow the Rules and then hover the card below</p>
    <ol>
        <li>Think of a number below 10</li>
        <li>Double the number you have</li>
        <li>Add 6</li>
        <li>Divide it by 2</li>
        <li>Subtract the original number from your answer</li>
    </ol>
    <div id="card"></div>
</div>

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts