first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>event</title>
</head>
<body>
<!-- <p onclick="demos()">111</p> -->
<p>2222</p>
</body>
<script>
// function demos () {
// alert("111")
// }
var p = document.querySelector("p");
p.onclick = function (e) {
// console.log(e.target);
// console.log(e.target.innerText);
console.log(p.innerText);
}
// document.querySelector("p").addEventListener('click', function() {
// console.log("1");
// })
</script>
</html>