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