how to add variable value to div in jquery code example Example: how to append a variable to html temp.append('temperature: ' + response.main.temp)