'document.getElementById("demo").innerHTML = res' code example
Example: js innerHTML
document.getElementById("Test").innerHTML = "<p style='color:red;'>Test</p>";
document.getElementById("Test").innerHTML = "<p style='color:red;'>Test</p>";