Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
125 lines (111 loc) · 5.27 KB
/
Copy pathindex.html
File metadata and controls
125 lines (111 loc) · 5.27 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Technovation Curriculum Crosswalk</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Castoro:ital,wght@0,400;1,400&family=Manrope:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="icon" type="image/png" href="assets/light_favicon.png" media="(prefers-color-scheme: light)">
<link rel="icon" type="image/png" href="assets/dark_favicon.png" media="(prefers-color-scheme: dark)">
<link rel="icon" type="image/png" href="assets/light_favicon.png">
<link rel="stylesheet" href="styles.css">
<!-- Starts the data and the whole module graph downloading in parallel, instead
of each import being discovered only after its parent has parsed. -->
<link rel="preload" href="curriculum.json" as="fetch" crossorigin>
<link rel="modulepreload" href="src/ui/main.js">
<link rel="modulepreload" href="config.js">
<link rel="modulepreload" href="src/ui/progress.js">
<link rel="modulepreload" href="src/ui/render.js">
<link rel="modulepreload" href="src/engine/index.js">
<link rel="modulepreload" href="src/engine/filter.js">
<link rel="modulepreload" href="src/engine/schedule.js">
</head>
<body>
<!-- Outside .wrap so the bar itself runs edge to edge; .brandmark carries the
same max-width as the page so its contents still line up with the columns. -->
<header>
<div class="brandmark">
<div class="header-title">
<img class="wordmark" src="assets/technovation_logo_text.svg" alt="Technovation">
</div>
</div>
</header>
<div class="wrap">
<div class="printhead" id="printhead" aria-hidden="true"></div>
<div class="layout">
<!-- Names the action rather than the tool, and carries the page's h1: the
bar above is identity, this is what the page is for. Outside the form
so it introduces the sentence instead of becoming part of it. -->
<div class="greeting">
<h1>Let’s <em>plan</em> your program.</h1>
<p>Tell us who you’re teaching and how much time you have.</p>
</div>
<!-- The controls read as a sentence: a facilitator describes their group
and the plan follows. Every value is a real form control, so keyboard
and screen-reader users get the same thing, just spoken as a form.
It is one paragraph, not two: a divider made it read as a form again. -->
<form class="panel sentence" id="controls">
<p class="clause">
You are preparing a lesson plan for a group of
<select id="age" aria-label="Age group">
<option value="beginner">8–12</option>
<option value="junior">13–15</option>
<option value="senior" selected>16–18</option>
</select>
year olds. You have
<input type="number" id="weeks" value="20" min="10" max="52"
aria-label="Number of weeks">
weeks of
<input type="number" id="len" value="90" min="30" max="300" step="5"
aria-label="Minutes per session">
minute sessions. You will follow
<select id="mode" class="mode" aria-label="Curriculum">
<option value="custom" selected>a Custom plan</option>
<option value="core">the Core Curriculum</option>
<option value="ai">the AI in Action course</option>
</select>
<span class="sub-group" id="customClause">
building
<select id="platform" aria-label="What they will build">
<option value="mobile" selected>Mobile apps</option>
<option value="web">Web apps</option>
</select>
<span class="static-text" id="platformStatic" hidden>Mobile apps</span>
<span class="sub-group" id="toolGroup" hidden>
with
<select id="builder" aria-label="Coding tool"></select>
</span>
and AI topics
<select id="aiMode" aria-label="AI">
<option value="none">omitted</option>
<option value="integrated" selected>included</option>
</select></span><!--
Continues the same sentence in place of the custom clause: exactly one of
these two is ever visible, so the line stays complete either way.
--><span class="aside" id="coreNote" hidden>for groups short on time: all the
lessons necessary to submit a project.</span><!--
--><span class="aside" id="aiNote" hidden>for teams building an AI-powered
digital solution</span><span
class="stop">.</span>
</p>
</form>
<div class="results">
<!-- src/ui/render.js renders the plan card here, with Print and
Spreadsheet in its sticky footer. The loading state below is static
first paint, not injected by JS, so it is on screen before the
modules have parsed. render() replaces it on the first plan. -->
<main id="out" aria-live="polite" tabindex="-1">
<div class="loading">
<span class="spinner" aria-hidden="true"></span>
<h2>Building your plan</h2>
<p>Loading the Curriculum.</p>
</div>
</main>
</div>
</div>
</div>
<script type="module" src="./src/ui/main.js"></script>
</body>
</html>