title: How to know when the weather is rain or snow or sun?
body: <p>first i'm sorry because my Eng too bad. I have a question, how i know is it rain or snow ? i try check by temp but its not right . I take data form openweathermap API . 
  here is my codepen:
  <a href="http://codepen.io/khanh1993/full/EybPXG/" rel="nofollow">http://codepen.io/khanh1993/full/EybPXG/</a>
  and condition to check:</p>
  
  <pre><code>if(fTemp&gt;80){
    $("#icon").html('&lt;i class="fa fa-sun-o fa-fw fa-5x fa-spin" aria-hidden="true"&gt;&lt;/i&gt;');
    $('body').css("background","url('http://www.walldevil.com/wallpapers/a79/nature-backgrounds-screen-desktop-savers-high-sunshine-wallpapers-images-resolution.jpg')")
  }
  else if(fTemp&gt;58){
    $("#icon").html('&lt;i class="fa fa-tint fa-fw fa-5x" aria-hidden="true"&gt;&lt;/i&gt;');
    $('body').css("background","url('http://wallpapercave.com/wp/doNuhh5.jpg')");
  }
  else if(fTemp&gt;40){
    $('#icon').html('&lt;i class="fa fa-cloud fa-5x fa-fw" aria-hidden="true"&gt;&lt;/i&gt;');
    $('body').css("background","url('http://eskipaper.com/images/cloud-background-6.jpg')");
  }
  </code></pre>