title: Javascript coding: Input a specific date, Output the season
body: <p>Hello I a very new to Javascript and I need to make a code that allows someone to enter a date and it will result in the season that date is in. I am at a loss at what I should do, an if else statement? This is as far as I got, thank you for everyone's time!</p>
  
  <pre><code>&lt;body&gt;
  &lt;h1&gt;Date to Season&lt;/h1&gt;
  &lt;p align="left"&gt;Enter Date:
  &lt;input id="season" maxlength="4" size="24"/&gt;
  &lt;/p&gt;
  &lt;input type="button" value="Submit" onclick="Submit()"/&gt;&lt;br/&gt;
  &lt;textarea cols="40" rows="3" id="output"&gt;&lt;/textarea&gt;&lt;/body&gt;
  
  &lt;script type="text/javascript"&gt;
  function Submit(){
  var date = document.getElementById('season').value;
  var seasons = 
  
  if (
  </code></pre>