This commit is contained in:
2026-02-13 23:38:38 +08:00
commit 0207414c50
551 changed files with 35558 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
## BOM broswer
学习的是window 的属性以及window的API
```html
<button onclick="fun1()">弹窗</button>
<button onclick="fun2()">信息框</button>
<button onclick="fun3()">确认</button>
<script>
function fun1(){
window.alert("13eer");
}
function fun2(){
var s= window.prompt("输入姓名");
console.log(s);
}
function fun3(){
var c= window.confirm("要不要");
console.log(c);
}
```
## DOM document
![1732544555744](F:\Wechat\WeChat Files\wxid_13iogzk6c5q612\FileStorage\Temp\1732544555744.jpg)
也有节点
元素节点就是element 属性节点就是attribute 文本节点就是text