,
<!-- <p oneventname = "dosomething(event)">This web technology course is amazing!</p> --> <button onclick="this.innerHTML='Amazing!'">Click me! I'll rock you.</button>
// target_object.oneventname = function() {...};
document.getElementById("rock-button").onclick = function(eobj) {
this.innerHTML = "Amazing!";
};
// target_object.addEventListener('eventname', dosomething); // dosomething() is an event listener.
window.???('load', function(eobj) { // What is the name of this type of function?
document.getElementById('menu-signin').???('click', menu_signin_selected);
});
function menu_signin_selected(eobj) { // eobj is an Event object.
...
}
removeEventListener() with the same event listener
