📅  最后修改于: 2022-03-11 14:55:56.139000             🧑  作者: Mango
代码示例1
h1.document.querySelector("h1");
h1.addEventListener("click", function(){
alert("You are connected Mr Monareng!")
h1.style.color= "blue";
}