-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCS50P_Problem_Set_5_Interactive_Guide.html
More file actions
45 lines (42 loc) · 3.21 KB
/
CS50P_Problem_Set_5_Interactive_Guide.html
File metadata and controls
45 lines (42 loc) · 3.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>CS50P Problem Set 5 Student Support</title>
<meta name="description" content="Interactive support page for CS50P Problem Set 5." />
<link rel="icon" href="data:," />
<link rel="stylesheet" href="assets/cs50p_pset_shared.css" />
</head>
<body>
<main class="wrap">
<div class="topbar">
<a class="home-link" href="CS50P_Problem_Sets_Home.html">← Back to CS50P Problem Sets Home</a>
<span class="chip">CS50P</span>
<span class="chip" id="psetChip">Problem Set 5</span>
</div>
<h1 id="pageTitle">Problem Set 5 Student Support</h1>
<p class="lead" id="pageLead">Use official specs first, then practice patterns in the runner.</p>
<div class="grid">
<section class="card"><h2>How to Use This Page</h2><ol><li>Choose a problem tab.</li><li>Open the official CS50 problem.</li><li>Load starter code or worked example.</li><li>Run and test code in the editor.</li></ol></section>
<section class="card"><h2>Official Links</h2><ul><li><a id="officialPsetLink" href="https://cs50.harvard.edu/python/psets/5/" target="_blank" rel="noopener noreferrer">Problem Set 5 Official Page</a></li><li><a href="https://cs50.harvard.edu/python/notes/5/" target="_blank" rel="noopener noreferrer">Week 5 Notes</a></li><li><a href="https://cs50.harvard.edu/python/shorts/" target="_blank" rel="noopener noreferrer">CS50P Shorts</a></li></ul></section>
<section class="card"><h2>Problems</h2><div class="problem-tabs" id="problemTabs" role="tablist" aria-label="Problem tabs"></div><div id="problemPanels"></div></section>
<section class="card runner" id="runner"><div class="row" style="justify-content:space-between"><h2 style="margin:0">Try Code Here</h2><span class="status" id="pyStatus" role="status" aria-live="polite">Loading Python…</span></div><div class="callout" id="loadedInfo" role="status" aria-live="polite">Loaded code info: none yet.</div><p class="subtle">Press <strong>Ctrl+Enter</strong> to run. If your program uses <code>input()</code>, a pop-up appears.</p><textarea id="pyCode" spellcheck="false" aria-label="Python code editor"></textarea><div class="row" style="margin-top:10px"><button id="runPy" type="button">Run Code</button><button id="clearOut" class="ghost" type="button">Clear Output</button></div><pre id="pyOut" class="output" aria-label="Python output" tabindex="0"></pre></section>
</div>
</main>
<script>
window.CS50P_PAGE_CONFIG = {
psetLabel: 'Problem Set 5',
officialPsetUrl: 'https://cs50.harvard.edu/python/psets/5/',
lead: 'Problem Set 5 emphasizes testable program structure and validation behaviors.',
problems: [
{ title: 'Testing my twttr', url: 'https://cs50.harvard.edu/python/psets/5/test_twttr/' },
{ title: 'Back to the Bank', url: 'https://cs50.harvard.edu/python/psets/5/test_bank/' },
{ title: 'Re-requesting a Vanity Plate', url: 'https://cs50.harvard.edu/python/psets/5/test_plates/' },
{ title: 'Refueling', url: 'https://cs50.harvard.edu/python/psets/5/test_fuel/' }
]
};
</script>
<script src="assets/cs50p_pset_shared.js"></script>
</body>
</html>