Menu
×
×
Correct!
Exercise:Make the function display "Hello" in the inner HTML of an element with the ID "demo".
function myFunction() {
document.@(14)("demo").@(9) = "Hello";
}
function myFunction() {
document.getElementById("demo").innerHTML = "Hello";
}
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 67 exercises.
Are you sure you want to continue?