It won't recognize the "intQuantity" value when typing a number , just assumes its ALL true =/
<pre><code>&lt;script ="javscript"/&gt;

function checkQuantity()
{

function noCharge(intQuantity){
  if (intQuantity &gt; 100) {
    return true;
  }

  if (intQuantity &lt; 100) {
    return false;
  }

  return true;
}

checkQuantity=parseInt(prompt("Please enter the quantity of light bulbs",""))
if ((intQuantity)==true)
{
    alert("Your light bulbs will arrive shortly. There is NO delivery charge")
}
else if ((intQuantity)==false)
{
    alert("Your light bulbs will arrive shortly. There will be a  delivery charge of £5.99")
}
else
{
    alert("Please enter an amount")
}
}
&lt;/script&gt;
</code></pre>
