-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCS50P_Problem_Set_7_Interactive_Guide.html
More file actions
46 lines (43 loc) · 3.28 KB
/
CS50P_Problem_Set_7_Interactive_Guide.html
File metadata and controls
46 lines (43 loc) · 3.28 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
46
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>CS50P Problem Set 7 Student Support</title>
<meta name="description" content="Interactive support page for CS50P Problem Set 7." />
<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 7</span>
</div>
<h1 id="pageTitle">Problem Set 7 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/7/" target="_blank" rel="noopener noreferrer">Problem Set 7 Official Page</a></li><li><a href="https://cs50.harvard.edu/python/notes/7/" target="_blank" rel="noopener noreferrer">Week 7 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 7',
officialPsetUrl: 'https://cs50.harvard.edu/python/psets/7/',
lead: 'Problem Set 7 centers on regular expressions and validation logic.',
problems: [
{ title: 'NUMB3RS', url: 'https://cs50.harvard.edu/python/psets/7/numb3rs/' },
{ title: 'Watch on YouTube', url: 'https://cs50.harvard.edu/python/psets/7/watch/' },
{ title: 'Working 9 to 5', url: 'https://cs50.harvard.edu/python/psets/7/working/' },
{ title: 'Regular, um, Expressions', url: 'https://cs50.harvard.edu/python/psets/7/um/' },
{ title: 'Response Validation', url: 'https://cs50.harvard.edu/python/psets/7/response/' }
]
};
</script>
<script src="assets/cs50p_pset_shared.js"></script>
</body>
</html>