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