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,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>tabs</title>
<style>
.on {
color: red;
}
</style>
</head>
<body>
<ul>
<li class="on">苏世博会</li>
<li>呜呜呜呜</li>
<li>www</li>
</ul>
<script>
document.querySelectorAll("ul li").forEach(val => {
val.onclick = function() {
document.querySelectorAll("ul li").forEach(vals => vals.className = "" )
val.className = "on"
}
})
</script>
</body>
</html>