Programming Challenge using jQuery
<p>This is a follow up to a previous question which seems to have confused people so I'll purify it a bit. Here is some markup.</p>

<pre><code>&lt;div class="button width120 height30 iconLeft colorRed"&gt;&lt;/div&gt;
&lt;div class="button width180 height20 iconPlus colorBlue"&gt;&lt;/div&gt;
&lt;div class="button width200 height10 iconStar colorGreen"&gt;&lt;/div&gt;
&lt;div class="button width110 height60 iconBack colorOrange"&gt;&lt;/div&gt;
</code></pre>

<p>The challenge is to fill in the code in the following.</p>

<pre><code>$(".button").each(function(){

    // Get the width from the class

    // Get the height from the class

    // Get the icon from the class

    // Get the color from the class

});
</code></pre>

<p>Now, I know that you shouldn't use classes this way so I'm not looking for alternative ways of doing it, this is an experiment and I'm interested to know if it's possible to do it this way.</p>
