adding the animation directory
This commit is contained in:
20
animations/lists/push_back/index.html
Normal file
20
animations/lists/push_back/index.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>List push_back</title>
|
||||
<script src="../../konva.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>List push_back</h1>
|
||||
<p>This animation shows how the push_back() method works in List. Click the "next step" button to run the animation. <b>Note:</b> In this animation, we assume value is 4. </p>
|
||||
|
||||
<div id="container"></div>
|
||||
<script src="push_back.js"></script>
|
||||
|
||||
<!-- we must include the javascript first, and then have this button definition which calls a function defined in the javascript -->
|
||||
<button onclick="nextstep()" style="position: absolute; top: 110px; left: 10px;">next step</button>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user