Skip to content

Commit 7816fcb

Browse files
committed
updated example
1 parent beb9090 commit 7816fcb

2 files changed

Lines changed: 2 additions & 134 deletions

File tree

‎v3/embedding-demo.html‎

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -28,41 +28,14 @@
2828
</head>
2929

3030
<body>
31-
3231
<!-- This demo shows three visualizations, each embedded within a div ... -->
33-
3432
<p>Recursive list sum (from <a href="http://pythontutor.com">pythontutor.com</a> home page):</p>
35-
3633
<div id="listSumDiv"></div>
3734

38-
3935
<p>Towers of Hanoi:</p>
40-
4136
<div id="hanoiDiv"></div>
4237

43-
4438
<p>Happy Birthday:</p>
45-
4639
<div id="happyDiv"></div>
47-
48-
49-
<!-- popup question dialog code from Brad Miller -->
50-
<p>This one tests your knowledge:</p>
51-
<div id="bradsDiv"></div>
52-
53-
<div id="bradsDiv_modal" class="basic-modal-content">
54-
<h3>Check your understanding</h3>
55-
Enter the value of the variable a after the current line is executed.
56-
<input id="basic-textbox" type="textbox" />
57-
<button onclick="traceQCheckMe('basic-textbox','bradsDiv','globals.a')">Check
58-
Me</button>
59-
<button onclick="closeModal('bradsDiv')">Continue...</button>
60-
<p id ="bradsDiv_feedbacktext" class="feedbacktext"></p>
61-
</div>
62-
<div style='display:none'>
63-
<img src='css/x.png' alt='' />
64-
</div>
65-
66-
6740
</body>
6841
</html>

0 commit comments

Comments
 (0)