Skip to content

Commit 36affa1

Browse files
committed
2 parents 656321d + 657e767 commit 36affa1

File tree

5 files changed

+25
-9
lines changed

5 files changed

+25
-9
lines changed

index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,15 @@ <h4 class="text-primary">Schedule</h4>
177177
<div class="panel-body">
178178
<p class="blurb">Labs in CS41 provide a hands-on opportunity to experiment with the Python concepts presented in lectures. Although students work on these labs during an 80-minute class period, it would take much longer to fully complete a lab. Each lab comes with a number of challenge problems that will take even the experiences programmer nontrivial time. Labs are collaborative and open-ended, frequently asking you to think about how or why Python makes the decisions it does.</p>
179179
<p class="blurb">Each problem is chosen to reinforce a particular concept, but you are free to skip around at will. You are not expected to submit your solutions to labs, although our reference solutions will be posted afterwards. Think of labs as a chance to solidify your working knowledge of Python - after all, what better way to learn Python than to practice it?</p>
180+
<b class="blurb">See <a href="lab_assignments.html">Lab Assignments</a> for your lab assignment!</b>
180181
</div>
181182
<table class="table table-striped table-hover table-bordered">
182183
<thead>
183184
<tr>
184185
<th>Week</th>
185186
<th>Topic</th>
186-
<th>Handout</th>
187+
<th>Part 1 Link</th>
188+
<th>Part 2 Link</th>
187189
<th>Solutions</th>
188190
</tr>
189191
</thead>
@@ -289,6 +291,9 @@ <h4 class="text-primary">Schedule</h4>
289291
<h4>Essential Links</h4>
290292
<p class="lead">
291293
<!-- TODO: Fix this janky spacing hack -->
294+
<strong class="small"><a href="lab_assignments.html" target="_blank">Lab Assignments</a></strong>
295+
296+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
292297
<strong class="small"><a href="https://docs.google.com/document/d/15Z1g1oXv32njCOiFvGBTlJde4rfOBtshBvKIQH17hys/edit?usp=sharing" onclick="gtag_trackOutboundLink('course_information'); return true;" target="_blank">Course Info</a></strong>
293298

294299
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
@@ -303,9 +308,6 @@ <h4>Essential Links</h4>
303308
<h4>Basic Info</h4>
304309

305310
<dl class="dl-horizontal lead">
306-
<dt>Application</dt>
307-
<dd><a href="http://apply.stanfordpython.com/" onclick="gtag_trackApplication('info'); return true;" target="_blank">Apply Here</a> (due Jan 4, 2020 at 11:59pm)</dd>
308-
309311
<dt>Date / Time</dt>
310312
<dd>Monday + Wednesday 3:00pm to 4:20pm</dd>
311313

js/lab_assignments.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ $(document).ready(function() {
2121
'avidesh': 'Antonio',
2222
'elizfitz': 'Antonio',
2323
'erickha': 'Antonio',
24-
'gsheen': 'Antonio',
24+
'gsheen': 'Sam',
2525
'mateoae': 'Antonio',
2626
'rubensan': 'Antonio',
2727
'cperez8': 'Antonio',
2828
'emarx1': 'Sam',
29-
'k99397': 'Sam',
29+
'k99397': 'Antonio',
3030
'emily2h': 'Sam',
3131
'jinal': 'Sam',
3232
'josencf': 'Sam',

js/resources.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ function create_lab_tr(lab) {
4747
/*
4848
<tr>
4949
<th scope="row">1</th>
50-
<td><a href=...>Handout</a></td>
50+
<td><a href=...>Part 1</a></td>
51+
<td><a href=...>Part 2</a></td>
5152
<td><a href=...>Solutions</a></td>
5253
</tr>
5354
*/
@@ -59,7 +60,11 @@ function create_lab_tr(lab) {
5960
$('<td>').append(lab.topic)
6061
).append(
6162
$('<td>').append(
62-
create_anchor(lab.href, "Handout", "None", gtag_trackLabHandout)
63+
create_anchor(lab.part1, "Part 1", "None", gtag_trackLabHandout)
64+
)
65+
).append(
66+
$('<td>').append(
67+
create_anchor(lab.part2, "Part 2", "None", gtag_trackLabHandout)
6368
)
6469
).append(
6570
$('<td>').append(

lab-assignments.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ <h2>CS 41 Section Assignments!</h2>
6565
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
6666
<script type="text/javascript" src="js/lab_assignments.js"></script>
6767
</body>
68-
</html>
68+
</html>

res/labs.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
[
2+
{
3+
"week": 2,
4+
"topic": "Data Structures",
5+
"part1": "https://github.com/stanfordpython/python-labs/blob/master/notebooks/lab-2/data-structures-part-1.ipynb",
6+
"part2": "https://github.com/stanfordpython/python-labs/blob/master/notebooks/lab-2/data-structures-part-2.ipynb",
7+
"solutions": "#",
8+
"visible": true,
9+
"active": true
10+
}
211
]

0 commit comments

Comments
 (0)