What will this line of code do?
document.getElementById("firstGreeting").innerHTML = "Welcome!"
(1 point)
Responses
put the word “Welcome!” into the element whose ID is firstGreeting
put the word “Welcome!” into the element whose ID is firstGreeting
put the word “firstGreeting” into the element whose ID is Welcome!
put the word “firstGreeting” into the element whose ID is Welcome!
add “Welcome!” to the innerHTML of the whole document
add “Welcome!” to the innerHTML of the whole document
add “firstGreeting” to the innerHTML of the whole document
1 answer
put the word “Welcome!” into the element whose ID is firstGreeting