What is wrong with my IF logic?
<p>I am writing a Javascript and dont know how to form the loop</p>

<pre><code>    if (value &lt; 25){
                    $(selector).css({ 'background': 'Red' });
                } else if (value &gt; 25 &amp;&amp; value &lt; 75){
                    $(selector).css({ 'background': 'Orange' });
                }else{
                    $(selector).css({ 'background': 'LightGreen' });
                }
</code></pre>

<p>else if error--> Unmatched else no if defined 
Where am I going wrong. Thanks</p>
