-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1013 lines (989 loc) · 41.9 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
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>INF 362 - Spring 2014 - Unit 3: Web DesignERS!</title>
<meta name="description" content="Web Design">
<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>
<style>
.correct {
float: right;
position: absolute;
top: .25em;
right: -1em;
}
.correct-no-code {
position: static;
}
.reveal pre code {
max-height: 1200px;
}
</style>
<!--[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 3</h1>
<h2>Web Design</h2>
<p><a href="day3.html">Day 3</a></p>
<p><a href="day4.html">Day 4</a></p>
</section>
<section>
<h1>RAT</h1>
</section>
<section>
<h2>iRAT</h2>
<h2>10 Minutes</h2>
</section>
<section>
<h2>iRAT</h2>
<h2>5 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>15 Minutes</h2>
</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 did you 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><a href=""></a></li>
</ul>
</section>
<section>
<h1>Activities</h1>
</section>
<section>
<h2>Sublime Text 2</h2>
<p>Editor of Choice</p>
</section>
<section>
<h2>Getting to Know GitHub</h2>
<p>Let's install GitHub, and log in</p>
</section>
<section>
<h1>Assemble!</h1>
</section>
<section>
<h2>What is the best summarization of?</h2>
<ul>
<li class="fragment">Pull Request</li>
<li class="fragment">Fork</li>
<li class="fragment">Commit</li>
<li class="fragment">Push/Sync</li>
<li class="fragment">Clone</li>
</ul>
</section>
<section>
<h2>What would you use a github issue for?</h2>
</section>
<section>
<h2>What would you use a branch for?</h2>
</section>
<section>
<h2>Clone</h2>
<p>Clone your team's repo to your computer</p>
</section>
<section>
<h2>Copy Folder Into ST2</h2>
</section>
<section>
<h2>Commit</h2>
<p>Make a change to your code and commit it.</p>
</section>
<section>
<h2>Sync That Commit!</h2>
</section>
<section>
<h2>How'd you do?</h2>
</section>
<section>
<h2>Branching</h2>
<p>Click the "master" branch icon and create a new branch.</p>
<p>Call it "gh-pages"</p>
</section>
<section>
<h2>Push That Branch</h2>
<p><a href="http://SUNY-Albany-CCI-INF362.github.io/american-football">A. Football</a></p>
<p><a href="http://SUNY-Albany-CCI-INF362.github.io/honey-badgers">H. Badgers</a></p>
<p><a href="http://SUNY-Albany-CCI-INF362.github.io/team4">T. 4</a></p>
<p><a href="http://SUNY-Albany-CCI-INF362.github.io/whatev3r">W/e</a></p>
<p class="fragment">MAGIC!!!!! (you can even work right out of gh-pages)</p>
</section>
<section>
<h2>How can YOU utilize GH-Pages?</h2>
<p class="fragment">Fork to your own, create gh-pages branch</p>
</section>
<section>
<h2>Let's Fork!</h2>
<p>Fork your own version of the repo</p>
</section>
<section>
<h2>Make your own commit</h2>
<p>sync it</p>
</section>
<section>
<h2>Create your own gh-pages branch</h2>
<p>View it: username.github.io/repo-name</p>
</section>
<section>
<h2>Pull it back in.</h2>
<p>Goto Github.com</p>
<p>Find your repo</p>
<p>Initiate Pull Request</p>
</section>
<section>
<h2>Note about branching</h2>
<p>You can branch instead of fork if you are testing locally.</p>
<p>Can be helpful, but not when we get into Jekyll.</p>
</section>
<section>
<h2>Note about Pull Requests</h2>
<p>Merge Conflicts</p>
<code>
<pre><<<<<<< Head:my-commit
Line 3: Hello World!
=======
Line 3: Hello Mom!
>>>>>>> 4h42k2b2dh36df8:my-commit</pre>
</code>
</section>
<section>
<h2>Breakdown</h2>
<code>
<pre class="fragment"><<<<<<< Head:my-commit</pre>
</code>
<code>
<pre class="fragment">Line 3: Hello World!</pre>
</code>
<code>
<pre class="fragment">=======</pre>
</code>
<code>
<pre class="fragment">Line 3: Hello Mom!</pre>
</code>
<code>
<pre class="fragment">>>>>>>> 4h42k2b2dh36df8:my-commit</pre>
</code>
</section>
<section>
<h2>Issues</h2>
<p>Github.com > click issues</p>
<p>Use issues as a forum for discussion.</p>
</section>
<section>
<h2>Look over your sketch sheets</h2>
<p>Develop as many tasks that you can think of to implement those sketches into code.</p>
<p>(at least 10)</p>
</section>
<section>
<h2>Now assign them</h2>
<p>Look over each task and assign each one to a specific person</p>
</section>
<section>
<h2>Categorize them</h2>
<p>Layout?</p>
<p>Design?</p>
<p>Interaction?</p>
<p>etc</p>
</section>
<section>
<h2>Milestones</h2>
<p>You just created your milestones for your mid-term</p>
</section>
<section>
<h2>Create Issues</h2>
<p>...and assign them.</p>
</section>
<section>
<h2>Create a new milestone</h2>
<p>In issues list, create your milestones</p>
</section>
<section>
<h2>Tips</h2>
<ul>
<li>Don't make a change unless there's an issue created for it</li>
<li>Assign to yourself or someone else.</li>
<li>Only work on issues you are assigned to.</li>
<li>Close issues from commits <code><pre>closes #15</pre></code></li>
<li>Reference Users in comments <code><pre>@esteinborn does this look right?</pre></code></li>
<li>Use labels to identify bugs etc.</li>
</ul>
</section>
<section style="text-align:center">
<img src="img/commits.jpg">
<h2>Someone is lagging behind, what are the possible ways to address this.</h2>
</section>
<section>
<h2>Rank the following in order of Mobie First-ness</h2>
<ol>
<li>Meta Viewport tag</li>
<li>Content Design</li>
<li>Fancy Navigation</li>
<li>Touch Support</li>
</ol>
</section>
<section>
<h2>Place the following in order for Mobile First design</h2>
<ol>
<li>UI Design</li>
<li>Focused Content Design</li>
<li>UX Design</li>
<li>Color Choice</li>
<li>Exciting new phone features</li>
</ol>
</section>
<section>
<h1>Next Time on...</h1>
<h1 class="blood">INF 362!</h1>
</section>
<section>
<h2>Next Time on...</h2>
<ul>
<li>Content</li>
<li>Basic SASS (Prepros)</li>
<li>RWD</li>
<li>Grid</li>
<li>Media Queries</li>
<li>Typical Design Patterns</li>
<li>Navigation</li>
<li>Images</li>
</ul>
</section>
<section>
<h2>MVP for Site Should be:</h2>
<ul>
<li>Forecloseure process in general</li>
<li>Every Stage in detail 1-8
<ul>
<li>stage 6: preparation for settlement conference (5 steps)</li>
</ul>
</li>
</ul>
<p><a href="https://drive.google.com/folderview?id=0B0wGUPa7Mqk3dHF3TjNTNVZhMkk&usp=sharing">Forecloseure Documents</a></p>
</section>
<section>
<h1>For Next Class</h1>
<ul>
<li><a href="http://sideproject.io/outdated-ux-patterns/">What you SHOULDN'T be doing.</a></li>
<li><a href="http://webdesign.tutsplus.com/articles/figuring-out-font-face--webdesign-14789">Fonts on the Web</a></li>
<li><a href="http://blogs.telerik.com/appbuilder/posts/13-11-21/what-exactly-is.....-the-300ms-click-delay">What is the 300ms Delay, and how to avoid it (hint:fastclick)</a></li>
<li>Read chapter 3 & 4 of RWD book. Skipping:
<ul>
<li>3.1 "max-width in Internet Explorer"</li>
<li>3.2 "in which it becomes clear that Windows hates us"</li>
<li>3.3 "Hail Alpha Loader, the conquering Hero"</li>
<li>4.1 Gloss over table 4.1 in "Meet the features"</li>
</ul>
</li>
<li>Read chapter 2 & 3 of SASS book
<ul>
<li>Use command line or <a href="http://alphapixels.com/prepros/">Prepros</a> (or online: <a href="http://sassmeister.com/">SassMeister</a>)</li>
<li>Read ch 3 UP TO "mixin arguments"</li>
</ul>
</li>
</ul>
</section>
<section>
<h2>Midterm Project Criteria</h2>
<p>Use Github issues to discuss project grading criteria</p>
<ul>
<li>full functionality</li>
<li>color choice</li>
<li>accessibility</li>
<li>intuitive</li>
<li>UX flows well</li>
<li>not too much input for the user</li>
</ul>
</section>
<section>
<h2>Top 5</h2>
<p>As a team decide on 5 grading criteria that you feel will equal a finished midterm.</p>
<p>We'll discuss next week and finalize</p>
</section>
<section>
<h2>State of your project by next week:</h2>
<ul>
<li>Based off Html5 BP (NOT A FORK) (remove "browse happy" prompt)</li>
<li>All layout should be percentage-based</li>
<li>Using Em's for precise measurement, PX only for body font declaration.</li>
<li>Header, Footer, Basic navigation</li>
<li>Fully flesh out issues from sketches</li>
<li>Milestones created for Midterm and final drafts and FULL due dates.</li>
</ul>
</section>
<!-- Unit 3 Day 2 Begin -->
<section>
<h1>TBL Teaching Assessment</h1>
</section>
<section>
<h3>Unit 3 - Day 2</h3>
<p>"You are your biggest supporter"</p>
<p>Assign yourself to issues (and complete them), it will affect your grade.</p>
</section>
<section>
<h2>Consolidate Project Plan</h2>
<p>Your team needs to be working toward one set of goals. Each of you should pull up your project proposal, pitch them to the group and choose either the best one, or the best parts of 2 or more.</p>
<p><b>Note:</b>Things to look for:</p>
<ul>
<li>Grammar</li>
<li>Correct Dates</li>
<li>No wild promises</li>
</ul>
</section>
<section>
<h2>Consolidate Style Tile</h2>
<p>Your team needs to be working toward one set of goals. Each of you should pull up your project Style Tile, pitch them to the group and choose either the best one, or the best parts of 2 or more.</p>
<p><b>Note:</b>Things to look for:</p>
<ul>
<li>Color Contrast</li>
<li>Color Variety</li>
<li>Appropriate Imagery</li>
</ul>
</section>
<section>
<h2>Midterm project critique criteria</h2>
<p>What did you come up with?</p>
<p class="fragment">Rank Top 5</p>
<p class="fragment">Write Top 3</p>
<p class="fragment">If tied, write 4th then 5th</p>
</section>
<section>
<h1>SASS</h1>
</section>
<section>
<h2>Let's learn Prepros</h2>
<ol>
<li>Setup</li>
<li>Input -> Output</li>
<li>Excludes</li>
<li>Images</li>
</ol>
</section>
<section>
<h2>Set up Screen Share</h2>
<p>IP on the screen.</p>
</section>
<section>
<h2>Create a SCSS folder in your project</h2>
<p>We'll be using SASS exclusively now.</p>
</section>
<section>
<h2>Nest this CSS Rule</h2>
<pre><code>nav ul .first {}</code></pre>
<pre class="fragment"><code>nav {
ul {
.first {}
}
}</code></pre>
</section>
<section>
<h2>Nesting Attributes</h2>
<pre class="language-css"><code>font: {
family: Arial;
size: 20px;
weight: bold;
}</code></pre>
<p>Can be used on any hyphenated attributes.</p>
</section>
<section>
<h2>Reference Parent Selector</h2>
<ol>
<li>
<pre class="language-css"><code>a { & {..code..} }</code><span class="fragment correct" data-fragment-index="1">★</span></pre>
</li>
<li>
<pre class="language-css"><code>a { @parent {..code..} }</code></pre>
</li>
<li>
<pre class="language-css"><code>a { @ref {..code..} }</code></pre>
</li>
<li>
<pre class="language-css"><code>a {} @prev {..code..}</code></pre>
</li>
</ol>
<pre class="language-css fragment" data-fragment-index="2"><code>a {
color:red; }
&:hover {
color: blue; }</code></pre>
</section>
<section>
<h2>How deep should you realistically nest CSS rules?</h2>
<ol>
<li><pre class="language-css"><code>.list {}</code></pre></li>
<li><pre class="language-css"><code>.list .nav {}</code></pre></li>
<li><pre class="language-css"><code>.list .nav li {}</code><span class="fragment correct" data-fragment-index="1">★</span></pre></li>
<li><pre class="language-css"><code>.list .nav li a {}</code></pre></li>
<li><pre class="language-css"><code>.list .nav li a span {}</code></pre></li>
</ol>
</section>
<section>
<h2>SASS Variables</h2>
<p>Which of these is a valid variable in SASS?</p>
<ol>
<li>
<pre><code>$mq: min-width: 30em;</code></pre>
</li>
<li>
<pre><code>$mq: 30em;</code><span class="fragment correct" data-fragment-index="1">★</span></pre>
</li>
<li>
<pre><code>$mq: 1.5;</code><span class="fragment correct" data-fragment-index="1">★</span></pre>
</li>
<li>
<pre><code>$mq: webkit-min-device-pixel-ratio;</code><span class="fragment correct" data-fragment-index="1">★</span></pre>
</li>
</ol>
</section>
<section>
<h2>How would you bring in another stylesheet?</h2>
<ol>
<li><pre><code>@import variables;</code></pre></li>
<li><pre><code>import variables;</code></pre></li>
<li><pre><code>@import "variables";</code><span class="fragment correct" data-fragment-index="1">★</span></pre></li>
<li><pre><code>@import "_variables.scss";</code><span class="fragment correct" data-fragment-index="1">★</span></pre></li>
<li><pre><code>import: variables;</code></pre></li>
</ol>
<p class="fragment" data-fragment-index="2">Files starting with an "_" are called "partials" they are not compiled themselves, but are referenced from within other sass files.</p>
</section>
<section>
<h2>Structuring SASS Files</h2>
<pre><code>@charset "UTF-8";
@import "variables";
@import "mixins";
@import "layout/scaffolding";
@import "layout/iefixes";
@import "vendor/jqueryui";
@import "components/missing-person";
@import "components/overlay";
@import "layout/print";</code></pre>
</section>
<section>
<h2>Variables</h2>
<p>Given the follow code snippet, how many variables should you create?</p>
<pre class="language-css"><code>.main {
width: 5em; height: 5em;
box-sizing: border-box;
color: red;
content: "Hello World!";}
.secondary {
width: 5em; padding: 5em;
box-sizing: border-box;
color: red;
content: "Hello World!";}</code></pre>
</section>
<section>
<h2>Give an example of when a variable would come in handy.</h2>
</section>
<section>
<h2>Extends</h2>
<p>Given the follow code snippet, create an extend.</p>
<pre class="language-css"><code>.main {
width: 5em; height: 5em;
box-sizing: border-box;
color: red;
content: "Hello World!";}
.secondary {
width: 5em; padding: 5em;
box-sizing: border-box;
color: green;
content: "Hello Buddy!";}</code></pre>
</section>
<section>
<h2>Extends</h2>
<p>Answer</p>
<pre class="language-css"><code>.main {
width: 5em; height: 5em;
box-sizing: border-box;
color: red;
content: "Hello World!";}
.secondary {
@extend .main;
color: green;}</code></pre>
</section>
<section>
<h2>Extends</h2>
<p>What is the expected CSS output of this extend?</p>
<pre class="language-css"><code>.error {
border: 1px;
background-color: red; }
.error.intrusion {
background: orange; }
.seriousError {
@extend .error;
border-width: 3px; }</code></pre>
</section>
<section>
<h2>Extends</h2>
<p>Wrong Answer...</p>
<pre class="language-css"><code>.error {
border: 1px;
background-color: red; }
.error.intrusion {
background: orange; }
.seriousError {
border: 1px;
background-color: red;
border-width: 3px; }</code></pre>
</section>
<section>
<h2>Extends</h2>
<p>Answer</p>
<pre class="language-css"><code>.error, .seriousError {
border: 1px;
background-color: red; }
.error.intrusion, .seriousError.intrusion {
background: orange; }
.seriousError {
border-width: 3px; }</code></pre>
<p>@extend works by inserting the extending selector (e.g. .seriousError) anywhere in the stylesheet that the extended selector (.e.g .error) appears. </p>
</section>
<section>
<h2>When would it be useful to use multiple extends?</h2>
</section>
<section>
<h2>Functions</h2>
<p>What color is this P tag in CSS?</p>
<pre class="language-css"><code>$type: monster;
p {
@if $type == ocean {
color: blue;
} @else if $type == matador {
color: red;
} @else if $type == monster {
color: green;
} @else {
color: black;
}
}</code></pre>
<p class="fragment">GREEN</p>
</section>
<section>
<h2>Functions</h2>
<pre class="language-css"><code>@for $i from 1 through 3 {
.item-#{$i} { width: 2em * $i; }
}</code></pre>
</section>
<section>
<h2>Functions</h2>
<pre class="language-css"><code>.item-1 {
width: 2em; }
.item-2 {
width: 4em; }
.item-3 {
width: 6em; }</code></pre>
</section>
<section>
<h2>@each</h2>
<h2>@while</h2>
</section>
<section>
<h2>Mixins</h2>
<p>How do you reference a mixin?</p>
<pre class="language-css"><code>@mixin large-text {
font: {
family: Arial;
size: 20px;
weight: bold;
}
color: #ff0000;
}</code></pre>
</section>
<section>
<h2>Mixins</h2>
<pre class="language-css"><code>.page-title {
@include large-text;
padding: 4px;
margin-top: 10px;
}</code></pre>
</section>
<section>
<h2>Mixins + Arguments</h2>
<p>How would you call this to make the color blue and width 1em?</p>
<pre class="language-css"><code>@mixin cool-border($color, $width) {
border: {
color: $color;
width: $width;
style: dashed;
}
}</code></pre>
<pre class="language-css fragment"><code>p { @include cool-border(blue, 1em); }</code></pre>
</section>
<section>
<h2>What is a good example of a time to use a mixin?</h2>
</section>
<section>
<h2>Color Functions</h2>
<p>Which of the following makes a color darker?</p>
<ol>
<li>
<pre class="language-css"><code>darken();</code><span class="fragment correct" data-fragment-index="1">★</span></pre>
</li>
<li>
<pre class="language-css"><code>darker();</code></pre>
</li>
<li>
<pre class="language-css"><code>dark();</code></pre>
</li>
<li>
<pre class="language-css"><code>makeDark();</code></pre>
</li>
</ol>
</section>
<section>
<h2>Color Functions</h2>
<p>Which of the following makes a color lighter?</p>
<ol>
<li>
<pre class="language-css"><code>lighten();</code><span class="fragment correct" data-fragment-index="1">★</span></pre>
</li>
<li>
<pre class="language-css"><code>lighter();</code></pre>
</li>
<li>
<pre class="language-css"><code>light();</code></pre>
</li>
<li>
<pre class="language-css"><code>makeLight();</code></pre>
</li>
</ol>
</section>
<section>
<h2>Color Functions</h2>
<p>How do you properly initialize a darken function?</p>
<ol>
<li>
<pre class="language-css"><code>darken(#FFF, 20);</code><span class="fragment correct" data-fragment-index="1">★</span></pre>
</li>
<li>
<pre class="language-css"><code>darken(20, #FFF);</code></pre>
</li>
<li>
<pre class="language-css"><code>darken(#FFF, 20%);</code><span class="fragment correct" data-fragment-index="1">★</span></pre>
</li>
<li>
<pre class="language-css"><code>darken(FFF, 20);</code></pre>
</li>
</ol>
</section>
<section>
<h2>Color Functions</h2>
<p>How do you properly initialize a complementary color function?</p>
<ol>
<li>
<pre class="language-css"><code>complement(#bada55);</code><span class="fragment correct" data-fragment-index="1">★</span></pre>
</li>
<li>
<pre class="language-css"><code>complement(#bada55, 20%);</code></pre>
</li>
<li>
<pre class="language-css"><code>complement(#bada55, 20);</code><span class="fragment correct" data-fragment-index="1">★</span></pre>
</li>
<li>
<pre class="language-css"><code>#bada55 * complement();</code></pre>
</li>
</ol>
</section>
<section>
<h2>The absence of a media query is...</h2>
<ol>
<li>in fact the first media query. <span class="fragment correct correct-no-code" data-fragment-index="1">★</span></li>
<li>someone showing a clear lack of education.</li>
<li>an error that needs no fixing.</li>
<li>a placebo effect.</li>
</ol>
<p>- <a href="http://www.slideshare.net/bryanrieger/rethinking-the-mobile-web-by-yiibu">Bryan Rieger</a></p>
</section>
<section>
<h2>Start with the small screen first, <span class="fragment">then expand until it looks like shit.</span><br><span class="fragment">Time for a breakpoint!</span></h2>
<p>- <a href="http://bradfrostweb.com/blog/mobile/bdconf-stephen-hay-presents-responsive-design-workflow/">Stephen Hay</a></p>
</section>
<section>
<h3>Media Queries</h3>
<p>Which of the following is the correct Media Query Syntax?</p>
<ol>
<li>
<pre class="language-css"><code>@media screen and (min-width: 40em) {}</code><span class="fragment correct" data-fragment-index="1">★</span></pre>
</li>
<li>
<pre class="language-css"><code>@media not handheld, (max-width: 40em) {}</code><span class="fragment correct" data-fragment-index="1">★</span></pre>
</li>
<li>
<pre class="language-css"><code>@media (min-device-pixel-ratio: 2.0) {}</code><span class="fragment correct" data-fragment-index="1">★</span></pre>
</li>
<li>
<pre class="language-css"><code>@media print {}</code><span class="fragment correct" data-fragment-index="1">★</span></pre>
</li>
<li>
<pre class="language-css"><code>@media screen and (orientation: portrait) {}</code><span class="fragment correct" data-fragment-index="1">★</span></pre>
</li>
</ol>
</section>
<section>
<h2>Media Queries in the Wild</h2>
<p></p>
</section>
<section>
<h2>Write a MQ that triggers with the following</h2>
<p>Screen width must be at least 40em</p>
<p>AND Device must be in Landscape mode</p>
<pre class="fragment"><code>@media (min-width: 40em) and (orientation: landscape) {}</code></pre>
<p class="fragment">Be careful with orientation. Desktops are "landscape" so are all old (and possibly new) blackberry browsers...</p>
</section>
<section>
<h2>Write a MQ that triggers with the following</h2>
<p>Screen width must be no more than 40em</p>
<p>OR screen height must at least 50em</p>
<pre class="fragment"><code>@media (max-width: 40em), (min-height: 50em) {}</code></pre>
</section>
<section>
<h2>Write a MQ that triggers with the following</h2>
<p>Not handheld devices</p>
<pre class="fragment"><code>@media not handheld {}</code></pre>
<p class="fragment">Sorry... not really possible, because...</p>
</section>
<section data-background="img/Device_pile.jpg">
</section>
<section>
<h1>Responsive Web Design</h1>
<p>This is what you will do 70% of your work on<span class="fragment">, with</span><span class="fragment">, around</span><span class="fragment">, because of</span><span class="fragment">, in spite of</span><span class="fragment">, or because someone thought it didn't matter and you needed to prove them wrong.</span><br>
<span class="fragment">So very, very wrong.</span></p>
</section>
<section>
<h2>Create a Grid</h2>
<p>mobile = 100%, after 50em, 1/3 width</p>
<p>HTML:</p>
<pre><code>.grid{I'm a Grid!}*3</code></pre>
<p>SCSS:</p>
<pre><code>.grid {background-color: lightblue;
padding: 1%;
margin: 0;}</code></pre>
</section>
<section>
<h2>Not Easy, Right?</h2>
<p><pre class="fragment"><code>box-sizing: border-box;</code>FTW!</pre> </p>
</section>
<section data-background="img/widthbox.png" data-background-size="30%" data-background-repeat="no-repeat">
</section>
<section>
<h2>That's why we're using Foundation 5's Grid</h2>
<p>Learn it. Love it. Use it.</p>
</section>
<section>
<h2>Navigation can be hard</h2>
<p>Luckily Foundation solves a lot of our issues.</p>
<a href="http://foundation.zurb.com/docs/components/offcanvas.html">Foundation Off-Canvas</a>
</section>
<section>
<h2>Form Fields</h2>
<p>Which of the following is a best practice for laying out form fields?</p>
<ol>
<li>Label Left (large) Label Top (small) <span class="fragment correct correct-no-code"data-fragment-index="1">★</span></li>
<li>Label top (large) Label Left (small)</li>
<li>Label Left (large) no Label (small)</li>
<li>Label Inside (large) label top (small)</li>
</ol>
</section>
<section>
<h2>Dealing with Tabs</h2>
<p>How would you handle this on mobile?</p>
<img src="img/Tabs.png" alt="">
</section>
<section data-background="img/tabs-mobile.png" data-background-size="50%" data-background-repeat="no-repeat">
</section>
<section>
<h2>Dealing with lots of content</h2>
<p>How would you handle this on mobile?</p>
<img src="img/pre-accordion.png" alt="">
</section>
<section data-background="img/accordion.png" data-background-size="60%" data-background-repeat="no-repeat">
</section>
<section>
<h1>Next Time on...</h1>
<h1 class="blood">INF 362!</h1>
</section>
<section>
<ul>
<li>Peer Evals</li>
<li>JavaScript</li>
<li>CSS3</li>
<li>Browser Compatbility</li>
<li>Progressive Enhancement</li>
<li>RWD Images</li>
<li>Mobile Device Remote Inspection</li>
</ul>
</section>
<section>
<h2>Article Readings</h2>
<ul>
<li><a href="http://sixrevisions.com/web_design/white-space/">White Space Rocks!</a></li>
<li><a href="http://ui-animations.tumblr.com/">UI Animations for inspiration</a></li>
<li><a href="http://designmodo.com/ux-tips-registration-forms/">UX Forms</a></li>
<li><a href="http://bradfrost.github.io/this-is-responsive/patterns.html">RWD Design Patterns</a></li>
<li><a href="http://uxdesign.smashingmagazine.com/2013/12/03/efficiently-simplifying-navigation-information-architecture/">Simplifying Navigation</a></li>
<li><a href="http://typecast.com/blog/a-more-modern-scale-for-web-typography">Scaling Typography for RWD</a></li>
<li><a href="http://alistapart.com/column/responsive-design-wont-fix-your-content-problem">RWD won;t fix your content problem. <3 Karen McGrane</a></li>
<li><a href="http://pressupinc.com/blog/2014/01/whats-wrong-css-box-model-fix/">Fixing the CSS Box Model</a></li>
<li><a href="http://bradfrostweb.com/blog/post/7-habits-of-highly-effective-media-queries/">7 habits of highly effective media queries</a></li>
</ul>
</section>
<section>
<h2>Book Readings</h2>
<p>Read Chapter 5 of RWD book</p>
</section>
<section>
<h2>Play with and Implement Foundation 5</h2>
<ol>
<li><a href="http://www.webdesignerdepot.com/2013/11/how-to-get-started-with-foundation-5/">Learn how to use Foundation 5 quickly Video</a></li>
<li><a href="http://foundation.zurb.com/docs/">Overview of all features, just play around</a></li>
<li><a href="http://foundation.zurb.com/docs/components/grid.html">Understand how grids work</a></li>
<li><a href="http://foundation.zurb.com/docs/components/button.html">Understand how buttons work</a></li>
<li><a href="http://codepen.io/mhayes/pen/qdCAc">Play with it on CodePen</a></li>
</ol>
</section>
<section>
<h2>Do you like Sublime Text?</h2>
<p><a href="https://tutsplus.com/course/improve-workflow-in-sublime-text-2/">Sublime Text 2 Super course (compatible with 3 for the most part)</a></p>
<p><a href="http://webdesign.tutsplus.com/articles/simple-visual-enhancements-for-better-coding-in-sublime-text--webdesign-18052">Make ST look pretty</a></p>
</section>
<section>
<h2>Parting Links</h2>
<ul>
<li><a href="http://www.smashingmagazine.com/2013/11/14/habits-successful-new-web-professionals/">Habits of successful new web professionals</a></li>
<li><a href="http://blog.samaltman.com/value-is-created-by-doing">Value is created by doing</a></li>
</ul>
</section>
<section>
<h2>Where should our project be by next week?</h2>
<ul>
<li>All base content from the PDF on their respective pages</li>
<li>App flow should be established</li>
<li>Navigation structure in place</li>
<li>Utilizes F5 grid system</li>
<li>Typography should start being tuned</li>
<li>Only focused on Mobile styles for now</li>
<li>Color scheme fully added as SASS variables</li>
<li>Start looking for royalty free imagery (This may help start you off: <a href="https://medium.com/p/62ae4bcbe01b">Stock photos that don't suck</a></li>
<li>Should have GH-Pages updated after each pull into master</li>
<li>Start checking how it looks on your phones.</li>
</ul>
</section>
<!-- Unit 3 Day 4 Begin -->
<section>
<h3>Unit 3 - Day 4</h3>
<p></p>
</section>
<section>
jQuery
Frameworks
</section>
<section>
<h3>Activity Question</h3>
<p></p>
</section>
<section>
<h1>Next Time on...</h1>
<h1 class="blood">INF 362!</h1>
</section>
<section>
<h1>Thing that comes next</h1>
</section>
<section>
<h1>For Next Class</h1>
midterm
fastclick
<ul>
<li><a href=""></a></li>
</ul>
</section>
<section>
<h2>Unit 4 Preview</h2>
<ul>
<li></li>
</ul>
</section>
<section>
<h1>For Next Unit</h1>
<h1>Topic</h1>
<ol>
<li><a href=""></a></li>
</ol>
</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,
height: "100%",
width: "100%",
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none