document.getElementById
document.getElementsByTagName
Select the H1 tag with the id of full_name and assign it to the variable fullName
var fullName = document.getElementById(“full_name”);
Select the second SPAN element on the page and assign it to the variable lastName
var lastName = document.getElementsByTagName(“span”)[1];
GlobalEventHandlers.onclick
The onclick property returns the click event handler code on the current element
Assign the greeting event handler to the click event on the sayButton
sayButton.onclick = greeting;