-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (65 loc) · 2.02 KB
/
index.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jsRemoveNodes</title>
<meta name="description" content="jsRemoveNodes: JavaScript algorithms to remove HTML elements">
<meta name="research" content="Project4Dimensions">
<meta name="keywords" content="jsRemoveNodes JavaScript remove HTML elements">
<meta name="application-name" content="jsRemoveNodes">
<link rel="stylesheet" href="/assets/css/style.css">
</head>
<body>
<h1>
<small>Why jsRemoveNodes?</small>
</h1>
<p>
jsRemoveNodes are JavaScipt algorithms to remove HTML nodes that can
be used to delete existing content and insert new material.
<a href="https://github.com/Project4Dimensions/jsRemoveNodes">
<pre>https://github.com/Project4Dimensions/jsRemoveNodes</pre>
</a>
</p>
<hr class="double">
<p>
<button onclick="removeNodes0('node0'); newNode('node0', 'New stuff!');">
Invoke jsRemoveNodes0
</button>
</p>
<ol id="node0">
<li>Some old stuff…</li>
</ol>
<hr>
<p>
<button onclick="removeNodes1('node1'); newNode('node1', 'New stuff!');">
Invoke jsRemoveNodes1
</button>
</p>
<ol id="node1">
<li>Some old stuff…</li>
</ol>
<hr>
<h2>
<small>References</small>
</h2>
<p>
MDN contributors. 2016. “Node.removeChild() - Web APIs.”
<em>Mozilla Developer Network</em>. September 3.<br>
<a href="http://project4dimensions.github.io/jsRemoveNodes/index.html">
https://developer.mozilla.org/en-US/docs/Web/API/Node/removeChild
</a>.
</p>
<p>
Refsnes Data. 2017. “HTML DOM removeChild Method.”
<em>W3Schools Online Web Tutorials</em>. Accessed April 18.<br>
<a href="https://www.w3schools.com/jsref/met_node_removechild.asp">
https://www.w3schools.com/jsref/met_node_removechild.asp
</a>.
</p>
<script src="remove-nodes.js"></script>
<script>
</script>
</body>
</html>