Skip to content

Commit c3a9b74

Browse files
committed
更新了前端文档
1 parent 6294eac commit c3a9b74

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Day21-30/Web前端概述.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,10 @@
233233
- 访问元素
234234
- getElementById() / querySelector()
235235
- getElementsByClassName() / getElementsByTagName() / querySelectorAll()
236-
- parentNode / previousSibling / nextSibling / firstChild / lastChild
236+
- parentNode / previousSibling / nextSibling / children / firstChild / lastChild
237237
- 操作元素
238238
- nodeValue
239-
- innerHTML / textContent / createElement() / createTextNode() / appendChild() / removeChild()
239+
- innerHTML / textContent / createElement() / createTextNode() / appendChild() / insertBefore() / removeChild()
240240
- className / id / hasAttribute() / getAttribute() / setAttribute() / removeAttribute()
241241
- 事件处理
242242
- 事件类型
@@ -286,7 +286,6 @@
286286
- 从CDN加载jQuery
287287

288288
```HTML
289-
290289
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
291290
<script>
292291
window.jQuery ||
@@ -335,7 +334,6 @@
335334
#### 检测页面是否可用
336335

337336
```HTML
338-
339337
<script>
340338
$(document).ready(function() {
341339
@@ -344,7 +342,6 @@
344342
```
345343

346344
```HTML
347-
348345
<script>
349346
$(function() {
350347
@@ -364,7 +361,6 @@
364361
先引入其他库再引入jQuery的情况。
365362

366363
```HTML
367-
368364
<script src="other.js"></script>
369365
<script src="jquery.js"></script>
370366
<script>

0 commit comments

Comments
 (0)