21 lines
676 B
HTML
21 lines
676 B
HTML
<!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>
|