Menu
×
×
Correct!
Exercise:Make the function display "Hello" in the inner HTML of an element with the ID "demo".
function myFunction() {
document.getElementById("demo").innerHTML = "Hello";
}
Not CorrectClick here to try again. Correct!Next ❯function myFunction() { document.("demo"). = "Hello"; } |