I recently completed a jQuery weather project using data from Wunderground. I am trying to implement a feature where the color of the temperature changes automatically based on whether it is higher or lower, but I am unsure how to incorporate CSS within jQuery.
function check(temp_c) {
// Code for checking temperature range and returning corresponding value
}
var temp_c = data.current_observation.temp_c ;
var temperature = check(temp_c );