-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtask023.html
51 lines (48 loc) · 1.53 KB
/
task023.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>IFE-task023</title>
<link rel="stylesheet" href="task023.css">
</head>
<body>
<div class="root" id="super">super
<div class="first-child" id="cat">cat
<div class="second-child" id="apple">apple
<div class="third-child" id="pear">pear</div>
<div class="third-child" id="pig">pig</div>
<div class="third-child" id="cola">cola</div>
<div class="third-child" id="soccer">soccer</div>
</div>
<div class="second-child" id="phone">phone</div>
<div class="second-child" id="blank">
<div class="third-child" id="book">book</div>
<div class="third-child" id="school">school</div>
</div>
</div>
<div class="first-child" id="note">note
<div class="second-child" id="human">human
<div class="third-child" id="code">code</div>
<div class="third-child" id="operate">operate</div>
<div class="third-child" id="man">man</div>
</div>
<div class="second-child" id="program">program
<div class="third-child" id="bement">bement
<div class="forth-child" id="cat1">cat</div>
</div>
<div class="third-child" id="glass">glass</div>
</div>
</div>
<div class="first-child" id="fish">fish</div>
</div>
<div class="buttons">
<button id="deep">深度遍历</button>
<button id="wide">广度遍历</button>
<input type="text" placeholder="搜索内容"/>
<button id="deepS">深度搜索</button>
<button id="wideS">广度搜索</button>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="task023.js"></script>
</body>
</html>