Skip to content

Commit b452d54

Browse files
author
Philip Guo
committed
added some more boilerplate HTML
1 parent b9c30ea commit b452d54

3 files changed

Lines changed: 64 additions & 1 deletion

File tree

‎index.html‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ <h2>Learn and practice Python programming from your web browser</h2>
5757

5858
</div>
5959

60+
<div class="mainBodyPane">
61+
6062
<div class="activityPane" id="solvePane">
6163

6264
<h1>Learn</h1>
@@ -149,6 +151,22 @@ <h2>existing programs to run using fewer instructions</h2>
149151

150152
</div>
151153

154+
<div class="activityPane" id="createPane">
155+
156+
<h1>Create</h1>
157+
<h2>new practice questions</h2>
158+
159+
<p> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
160+
eiusmod tempor incididunt ut labore et dolore magna aliqua. </p>
161+
162+
<p>COMING SOON: semantic constraints on execution</p>
163+
164+
</div>
165+
166+
167+
</div>
168+
169+
152170
<div id="footer">
153171

154172
<p>This application was created by <a

‎question.html‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,27 @@
172172

173173
<input type="checkbox" id="classicModeCheckbox"/> Use low-bandwidth mode (for older browsers)
174174

175+
<p><a href="tutor.html">Write Python code and visualize execution</a></p>
176+
177+
<p>
178+
Solve:
179+
<a href="question.html?two-sum">Two-sum</a> |
180+
<a href="question.html?reverse">Reverse list</a> |
181+
<a href="question.html?remove-dups">Remove duplicate chars</a>
182+
183+
<br/>Debug:
184+
<a href="question.html?debug-ireverse">In-place reverse</a> |
185+
<a href="question.html?debug-bsearch">Binary search</a> |
186+
<a href="question.html?debug-mergesort">Mergesort</a>
187+
188+
<br/>Optimize:
189+
190+
<a href="question.html?optimize-sum">Greatest sum</a> |
191+
<a href="question.html?optimize-find-dups">Find duplicates</a> |
192+
<a href="question.html?optimize-search">List search</a>
193+
194+
</p>
195+
175196
<p/>
176197
This application supports the core <a
177198
href="http://www.python.org/doc/2.5/">Python 2.5</a> language, with no

‎tutor.html‎

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525

2626
<head>
27-
<title>Online Python Tutor: Write Python code online and single-step through its execution</title>
27+
<title>Online Python Tutor</title>
2828

2929
<!-- jQuery 1.6.0 -->
3030

@@ -106,6 +106,29 @@
106106

107107
</p>
108108

109+
<p style="margin-top: 25px;">
110+
Then try some programming questions:<br/>
111+
Solve:
112+
<a href="question.html?two-sum">Two-sum</a> |
113+
<a href="question.html?reverse">Reverse list</a> |
114+
<a href="question.html?remove-dups">Remove duplicate chars</a>
115+
116+
<br/>Debug:
117+
<a href="question.html?debug-ireverse">In-place reverse</a> |
118+
<a href="question.html?debug-bsearch">Binary search</a> |
119+
<a href="question.html?debug-mergesort">Mergesort</a>
120+
121+
<br/>Optimize:
122+
123+
<a href="question.html?optimize-sum">Greatest sum</a> |
124+
<a href="question.html?optimize-find-dups">Find duplicates</a> |
125+
<a href="question.html?optimize-search">List search</a>
126+
127+
</p>
128+
129+
130+
131+
109132
</div>
110133

111134

@@ -162,6 +185,7 @@
162185

163186
<input type="checkbox" id="classicModeCheckbox"/> Use low-bandwidth mode (for older browsers)
164187

188+
165189
<p/>
166190
This application supports the core <a
167191
href="http://www.python.org/doc/2.5/">Python 2.5</a> language, with no

0 commit comments

Comments
 (0)