-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
434 lines (418 loc) · 19.1 KB
/
index.html
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>INF 362 - Spring 2014 - Unit 1: Debugging</title>
<meta name="description" content="Debugging">
<meta name="author" content="Eric Steinborn">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="css/reveal.min.css">
<link rel="stylesheet" href="css/theme/default.css" id="theme">
<!-- For syntax highlighting -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- If the query includes 'print-pdf', use the PDF print sheet -->
<script>
document.write( '<link rel="stylesheet" href="css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
</script>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section>
<h1>INF 362 Unit 1</h1>
<h2>Debugging</h2>
</section>
<section>
<h1>RAT</h1>
</section>
<section>
<h2>iRAT</h2>
<h2>5 Minutes</h2>
</section>
<section>
<h2>iRAT</h2>
<h2>2 Minutes</h2>
</section>
<section>
<h2>iRAT</h2>
<h2>1 Minute</h2>
</section>
<section>
<h2>iRAT</h2>
<div>
Hand in your test papers.
</div>
</section>
<section>
<h1>tRAT</h1>
</section>
<section>
<h2>tRAT</h2>
<h2>10 Minutes</h2>
</section>
<section>
<h2>tRAT</h2>
<h2>5 Minutes</h2>
</section>
<section>
<h2>tRAT</h2>
<h2>1 Minute</h2>
</section>
<section>
<h2>How'd teams do?</h2>
</section>
<section>
<h2>Appeals Process</h2>
</section>
<section>
<h2>Mini Lecture</h2>
<h3>Clarification</h3>
</section>
<section>
<h2>Some things to note</h2>
<ul>
<li>Sign up for <a href="https://github.com/join">GitHub</a> ASAP</li>
<li>Add username to <a href="http://bit.ly/inf362teams">the Team spreadsheet: http://bit.ly/inf362teams</a></li>
<li><a href="http://specificity.keegan.st/">CSS Specificity checker</a></li>
<li><a href="http://www.shoptalkshow.com ">Shoptalk Show Podcast</a></li>
<li><a href="http://www.uie.com/brainsparks/topics/podcasts/">UIE Podcast</a></li>
<li><a href="http://javascriptjabber.com/">JavaScript Jabber Podcast</a></li>
<li><a href="http://fsm.bdconf.com/podcast">Breaking Development Podcast</a></li>
<li><a href="http://www.manager-tools.com/podcast/career-tools">Career Tools Podcast</a></li>
</ul>
</section>
<section>
<h1>Activities</h1>
</section>
<section>
<h3>Rank the following CSS Selectors by specificity</h3>
<ol type="A">
<li>#foo .bar .qux</li>
<li>#foo div ul li p a</li>
<li>.bar #foo</li>
<li>#foo .bar p</li>
<li>#foo #baz </li>
</ol>
</section>
<section>
<h3>What color is this text?</h3>
<pre><code><p class="title" id="red">Hello, World!</p></code></pre>
<pre><code>#red .title {color: red; border: 1px solid green}
.title {color: green; font-size: 34px;}
p {color: black; font-size:20px; border: 1px solid orange;}</code></pre>
<ol type="A">
<li>Black</li>
<li>Red</li>
<li>Green</li>
<li>Orange</li>
</ol>
</section>
<section>
<h3>What color is the border?</h3>
<pre><code><p class="title" id="red">Hello, World!</p></code></pre>
<pre class="language-css"><code>#red .title {color: red; border: 1px solid green}
.title {color: green; font-size: 34px;}
p {color: black; font-size:20px; border: 1px solid orange;}</code></pre>
<ol type="A">
<li>Black</li>
<li>Red</li>
<li>Green</li>
<li>Orange</li>
</ol>
</section>
<section>
<h3>What font size is this text?</h3>
<pre><code><p class="title" id="red">Hello, World!</p></code></pre>
<pre><code>#red.title {
color: red; font-size:12px; border: 1px solid green}
.title {color: green; font-size: 34px;}
p {color: black; font-size:20px; border: 1px solid orange;}</code></pre>
<ol type="A">
<li>20px</li>
<li>34px</li>
<li>16px</li>
<li>None of the Above</li>
</ol>
</section>
<section>
<h3>Given the following options, which is the best way to diagnose and resolve a problem with a CSS rule not applying to your code.</h3>
<ol type="A">
<li>Look at your CSS directly</li>
<li>Use Dev Tools style inspector</li>
<li>Add !important to the style that's not applying</li>
<li>Both A and C</li>
</ol>
</section>
<section>
<h3>A JavaScript function you just wrote is not working, where in dev tools would you want to look first?</h3>
<ol type="A">
<li>Network Panel</li>
<li>Element Inspector</li>
<li>Sources Panel</li>
<li>None of the Above</li>
</ol>
</section>
<section>
<h3>Place the following steps in order of effectiveness at solving a CSS problem</h3>
<ol type="A">
<li>Add a new class to the element in html, and new styles in CSS</li>
<li>Add an "element.style" style to the element in dev tools</li>
<li>Check for specificity/cascading issues in Dev Tools</li>
<li>Check to see if you wrote the CSS rule correctly</li>
</ol>
</section>
<section>
<h3>Place the following steps in order of effectiveness for diagnosing and resolving a JS function not firing.</h3>
<ol type="A">
<li>Check to see if you wrote the JS function correctly</li>
<li>Run the JS through a linter</li>
<li>Add console.log statements where appropriate to track script execution</li>
<li>Check the error output of the console</li>
</ol>
</section>
<section>
<h3>Jeff just diagnosed and solved a problem.</h3>
<p>Rearrange Jeff's diagnosis steps in the order you would have chosen and then decide as a team which steps you would have performed and in which order. (you CAN drop steps)</p>
<ol>
<li>Effect wasn't showing up on screen</li>
<li>Found a few missing semicolons, fixed them</li>
<li>Refreshed page, still had errors</li>
<li>Checked HTML, was clear of errors</li>
<li>Checked Chrome Dev Console, saw 2 errors</li>
<li>Fixed error in his initialization function (1st error)</li>
<li>Refreshed page, had another error</li>
<li>Fixed extra comma in a declaration (2nd error)</li>
<li>Refreshed page, everything worked.</li>
</ol>
</section>
<section>
<h3>Back to Jeff.</h3>
<p>What is the biggest optimization you could have performed?</p>
<ol>
<li>Effect wasn't showing up on screen</li>
<li>Found a few missing semicolons, fixed them</li>
<li>Refreshed page, still had errors</li>
<li>Checked HTML, was clear of errors</li>
<li>Checked Chrome Dev Console, saw 2 errors</li>
<li>Fixed error in his initialization function (1st error)</li>
<li>Refreshed page, had another error</li>
<li>Fixed extra comma in a declaration (2nd error)</li>
<li>Refreshed page, everything worked.</li>
</ol>
</section>
<section>
<h3>Create a bug in CSS that can be debugged by dev tools</h3>
<p>Among the team, choose the best CSS bug, and explain why you thought it was the best example of a css rule to be diagnosed through dev tools.</p>
</section>
<section>
<h3>Create a JS bug that can be diagnosed by dev tools</h3>
<p>Among your team choose the best JS bug and explain why.</p>
</section>
<section>
<h3>Given the following code example: Individually: What is the expected output of this code</h3>
<pre><code>var theName = "sara";
var namer = function(theName) {
document.write(theName)
}
namer();</code></pre>
</section>
<section>
<h3>As a team what is the output of this code</h3>
<pre><code>var theName = "sara";
var namer = function(theName) {
document.write(theName)
}
namer();</code></pre>
<p class="fragment">undefined</p>
</section>
<section>
<h3>This script is not performing the task you think it should be. Choose the between lines where placing a console.log() would be most effective in checking to see if the function is firing at all.</h3>
<pre><code>var theName = "sara";
var namer = function(theName) {
document.write(theName)
}
namer();</code></pre>
<ol type="A">
<li>1-2</li>
<li>2-3</li>
<li>3-4</li>
<li>4-5</li>
<li>5-6</li>
</ol>
</section>
<section>
<h3>What is the console.log function you should write to check to see what name is set to inside the function?</h3>
<pre><code>var theName = "sara";
var namer = function(theName) {
document.write(theName)
}
namer();</code></pre>
<p class="fragment">console.log(theName);</p>
</section>
<section>
<h3>Sara's code isn't printing out her name. Which of the following mistakes in this code is the actual cause?</h3>
<pre><code>var theName = "sara";
var namer = function(theName) {
document.write(theName)
}
namer();</code></pre>
<ol type="A">
<li>theName should be passed into the function</li>
<li>theName is not a global variable</li>
<li>document.write(theName) is missing a semi-colon</li>
<li>namer is not properly initialized as a function</li>
</ol>
</section>
<section>
<h3>I'm having a really tough time using Dev Tools. I'd like you to write up some instructions for me to do the following:</h3>
</section>
<section>
<ol>
<li>Start with this page: (<a href="http://jsbin.com/IdAFaJa/1/">http://jsbin.com/IdAFaJa/1/</a> )</li>
<li>Add your team name to the H1 tag</li>
<li>Apply your team color to your team name</li>
<li>Add an unordered list with your team member names after "members"</li>
<li>Create a custom css class for your team member names.</li>
<li>Apply that style to the list of names</li>
<li>Find an image on wikipedia commons (<a href="http://commons.wikimedia.org/">http://commons.wikimedia.org</a>) for your team mascot:
<ol type="a">
<li>provide the search term used to find that image</li>
<li>Insert it between the text: "Team {Your Team Name}, Go <img>'s"</li>
<li>Image should be 300x300px</li>
<li>Image should have a border of 5px inset of your team color;</li>
</ol>
</li>
</ol>
</section>
<section>
<h1>Final Project Introduction</h1>
</section>
<section>
<h2>Create a REAL web app</h2>
<p class="fragment">Working with Empire Justice Center (EJC) to create a web-based foreclosure app.</p>
<p class="fragment">Each team creates their own version.</p>
<p class="fragment">Teams determine the criteria for critique.</p>
<p class="fragment">In the end one team will emerge victorious, and be chosen by EJC to go live.</p>
<p class="fragment">This is job experience, put this on your resume.</p>
</section>
<section>
<h1>Phase 1</h1>
</section>
<section>
<h2>Project Proposal</h2>
<ul>
<li>Scope of the project</li>
<li>Style Tile</li>
<li>All published on GitHub</li>
</ul>
</section>
<section>
<h1>Phase 2</h1>
</section>
<section>
<h2>Project Midterm</h2>
<ul>
<li>Mobile First, Responsive Prototype</li>
<li>Foundation 5</li>
<li>Information Architecture in place</li>
<li>Layout finalized</li>
</ul>
</section>
<section>
<h1>Phase 3</h1>
</section>
<section>
<h2>Final Project</h2>
<ul>
<li>Jekyll-based static web app</li>
<li>Using data sources for content</li>
<li>Javascript is a requirement</li>
<li>Cross-Browser compatible to IE 9</li>
</ul>
</section>
<section>
<h2>Unit 2 Preview</h2>
<ul>
<li>User Research</li>
<li>Collaborative Design</li>
<li>Style Tiles</li>
<li>Scope</li>
</ul>
</section>
<section>
<h1>For Next Class</h1>
<h1>GitHub</h1>
<ol>
<li>Sign up for <a href="https://github.com/join">GitHub</a></li>
<li>Add username to <a href="http://bit.ly/inf362teams">the Team spreadsheet: http://bit.ly/inf362teams</a></li>
</ol>
</section>
<section>
<h1>User Research</h1>
<ol>
<li><a href="http://alistapart.com/article/interviewing-humans">How to Interview Humans</a></li>
<li><a href="http://alistapart.com/article/audiences-outcomes-and-determining-user-needs">Determining User Needs</a></li>
<li><a href="http://www.steptwo.com.au/papers/kmc_personas/index.html">Creating Personas</a></li>
</ol>
</section>
<section>
<h1>Project Scope</h1>
<ol>
<li><a href="http://sixrevisions.com/project-management/web-design-project-scope/">Creating a great project scope</a></li>
</ol>
</section>
<section>
<h1>Design Studio</h1>
<ol>
<li><a href="http://vimeo.com/37861987">The Design Studio Method</a></li>
<li><a href="http://www.uie.com/brainsparks/2012/08/03/adam-connor-aaron-irizarry-collaboration-through-design-studio-and-critique/">Podcast that breaks down design studio even further</a>/</li>
<li>Extra - <a href="http://www.uie.com/brainsparks/2013/08/06/adam-connor-aaron-irizarry-building-consensus-in-critiques-and-design-studios/">How design studios build consensus (crucial)</a></li>
<li>Extra <a href="http://www.uie.com/brainsparks/2013/08/29/adam-connor-design-studio/">maybe overkill, as it says a lot of what the first two said, but he answers questions in this one</a></li>
</ol>
</section>
<section>
<h1>The Dao of Web Design</h1>
<p><a href="http://alistapart.com/article/dao">http://alistapart.com/article/dao</a></p>
</section>
<section>
<h1>Style Tiles</h1>
<ol>
<li><a href="http://styletil.es/">Get an understanding of what a Style Tile is, you'll be creating one soon.</a></li>
</ol>
</section>
<section>
<h1>Work Study Available</h1>
<p>See me for details</p>
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.min.js"></script>
<script>
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
slideNumber: true,
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: 'plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; } }
]
});
</script>
</body>
</html>