JavaScript if statement not working? 
<p>I've been trying to code the if statement but I don't know what I'm doing wrong?
This is what i did:</p>

<pre><code>&lt;script launguage="Javascript"type="text/javascript"&gt;
         &lt;!--
       /*
       this is a comment
       */     

             purchasePrice = prompt('How much money do you have?', '20' )

             alert('The price is' + purchasePrice)

             var season1, winter 

             season1=prompt('Which season do you perfer Winter or Spring?','Winter')

             if (season1 == 'Winter') 
                       {                
                       document.write ('Awesome! I like Winter too.') 

                       winter= prompt ('Why do you like Winter?','because I love the snow')

                       if ( winter == 'because I love the snow')

                                document.write ('Thats lovely! well, have a nice day.')

                       else if (var winter == 'You too.')

                                document.write ('Goodbye!')
                       }
      else 
                document.write ('Which season? '+season1+' ? ')

         --&gt;   
         &lt;/script&gt;

&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>The if statement is not working.. what am i doing wrong?</p>
