-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClassNotes_webDesign_IronYard.html
553 lines (407 loc) · 11.4 KB
/
ClassNotes_webDesign_IronYard.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
<!DOCTYPE html>
<html>
<head>
<!-- -->
<style type="text/css">
/**/
form {
border:2px solid black; padding:3px; width:600px;
}
h2 {
float:left;
padding:30px;
}
form>fieldset {
border-color: #993333;
}
form>fieldset:nth-of-type(2n){
border-color: #339933;
}
form>fieldset:nth-of-type(3n){
border-color: #333399;
}
fieldset>* {
display: inline-block;
}
fieldset {
display: block;
margin-bottom: 20px;
}
ul {
list-style: none;
width: 100%;
}
.hz-list li {
display: inline-block;
}
.hz-list.threes li {
width:30%;
}
span {
padding: 6px;
margin: 4px;
display: inline-block;
border: 1px solid black;
}
.p {
width: 90%;
}
.readmore {
float: right;
}
.halfer {
display: inline-block;
width:44.99%;
padding: 1%;
}
/**/
</style>
<!-- -->
<title></title>
</head>
<body>
<article class="Jan-12-2015">
<pre>
floats sometimes better than inline-block
inline-block can sometimes add small space between the elements
use overflow:hidden;
or clearfix;
</pre>
<form>
<fieldset>
<legend>div.header OR header</legend>
<h2><h1></h2>
<ul>
<li>width: 720px;</li>
<li>margin: 0 auto;</li>
</ul>
</fieldset>
<fieldset>
<legend>div.container OR main OR section</legend>
<fieldset>
<legend>ul.nav.clearfix OR nav</legend>
<ul class="hz-list threes">
<li>
<fieldset>
<legend>li</legend>
<span>a</span>
</fieldset>
</li>
<li>
<fieldset>
<legend>li</legend>
<span>a</span>
</fieldset>
</li>
<li>
<fieldset>
<legend>li</legend>
<span>a</span>
</fieldset>
</li>
</ul>
</fieldset>
<fieldset>
<legend>div.homefeature OR aside</legend>
<h2><img></h2>
<div class="halfer">
<ul>
<li><span class="p">p</span></li>
<li><span class="readmore">a</span></li>
</ul>
</div>
</fieldset>
<fieldset>
<legend>section</legend>
<fieldset>
<legend>h2</legend>
</fieldset>
<fieldset>
<legend>p.intro</legend>
</fieldset>
</fieldset>
<fieldset class="halfer">
<legend>div.left OR article</legend>
<span class="p rando"></span>
<span class="p rando"></span>
<span class="p rando"></span>
</fieldset>
<fieldset class="halfer">
<legend>div.right OR article</legend>
<span class="p rando"></span>
<span class="p rando"></span>
<span class="p rando"></span>
</fieldset>
</fieldset>
<fieldset>
<legend>ul.footer OR footer</legend>
<span class="p rando"></span>
<span class="p rando"></span>
</fieldset>
</form>
<pre class="misc-notes">
only use div when nothing fits, it's an element of last resort
</pre>
<dl class="vocab-list">
<dt>VOCAB</dt>
<dt>div alertnatives for sections of page</dt>
<dd>be sure to have header within elemetns from this group</dd>
<dt>article</dt>
<dt>section</dt>
<dt>aside</dt>
<dt>nav</dt>
</dl>
</article>
<article class="Jan-09-2015">
<pre class="misc-notes">
930 width px
margin: 0 auto;
Bryant - urgent concern: MAC usage
</pre>
</article>
<article class="Jan-08-2015">
<pre class="misc-notes">
CSS Box Model is a really good thing to understand early on when learning CSS. If you need a refresher later of what Greg was talking about with it then I recommend these resources:
2 quick articles on it: http://css-tricks.com/the-css-box-model/ http://css-tricks.com/box-sizing/
medium length article explaining (not as dry as official resource): http://learn.shayhowe.com/html-css/opening-the-box-model/
official resource: http://www.w3.org/TR/CSS2/box.html
CSS Floats:
http://css-tricks.com/all-about-floats/
margins between elements 'collapse' between left and right but NOT between left and right
a
a:visited
a:hover
a:active
<a href="index.php" id="nav-home" >Skinner Law Firm</a>
anchor, "a" element with 'hover' and 'active' (active is when you click) : http://codepen.io/johndavidhunt/pen/EaZWzO
</pre>
</article>
<article class="Jan-07-2015">
<pre class="misc-notes lab-notes">
</pre>
<pre class="misc-notes">
linking / paths
.
..
../
../../
../../index.html
images/sampson_dinosaur.jp
JPG/JPEG - (Joint Photographic Experts Group) - lots of colors, (can) use compression,
GIF - (Graphics Interchange Format) - preset number of colors (up to 16/32/.../256/512/etc colors)
PNG - (Portable Network Graphics) -'best of both worlds' and uses alpha channel (clear/transparent color)
raster - images that use pixels (jpg,gif,png)
SVG - (scalable vector graphics) -
vector - point, coordinate based
<img src="images/samson_dinosaur.jpg" alt="Scott Sampson and dinosaur">
CSS
p {color:blue;}
selector {attribute:value;}
color palette hexadecimal #FFCC33;
RGB
Red Green Blue
#rrggbb
#990000 = red;
#009900 = green;
#000099 = blue;
Wikipedia article on web colors: http://en.wikipedia.org/wiki/Web_colors
Showing browser support for transparent alpha colors (all modern EXCEPT for IE8): http://caniuse.com/#search=rgba
advanced articles on how color works (beast mode)
http://lodev.org/cgtutor/color.html
http://blog.asmartbear.com/color-wheels.html
http://riftlabs.com/2010/09/how-rgb-light-works/
font-size: 16px;
font-size: 1em; // em = the height of capital M; usually around 16px high
browsers round-up to 3rd decimal place
font-size: 2.1874em;
font-size: 2.187em;
use em over px for font-size;
font-style: italic;
font-weight: bold;
color: purple;
Use selectors in CSS
you can use builtin html elements
...or you can use 'class' of element
...or 'id' of element
CSS specificity
id class selector
100 10 1
</pre>
<pre class="ask-Greg">
what about the labels? do they go after the id or name listed in 'for'?
IronYard site: alt text on images (logos for sponsor brands)
codpen? instructor mode?
move ahead, and be able to see everything else.
</pre>
<ul class="links">
<li>Cola UX MEETUP: <a href="http://www.meetup.com/Columbia-UX-Meetup/events/219063679/">http://www.meetup.com/Columbia-UX-Meetup/events/219063679/</a></li>
</ul>
<pre class="followup">
Jordan - github issues (delete link remote origin) git remote -v git remote rm origin
somebody in class was having git related issues. IF for some reason you delete your github repository you can remove the origin reference to it locally with "git remote rm origin" at the terminal. then follow the github instructions for adding a new github repo to your local files. to check and see what is listed as your 'origin' you can use "git remote -v"
Tiye - get emmet working some (restart ST)
</pre>
</article>
<article class="Jan-06-2015">
<h2>Day Two</h2>
<h3>Git</h3>
<pre class="commands">
git init
git add .
git commit -m "my custom message"
git push
git status
git add '*.txt'
git log
git remote add origin
git push
git push -u origin master
git diff
git diff --staged
git diff HEAD
git reset octofamily/octodog.txt
git checkout -- octocat.txt
PATH=/usr/local/git/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:sbin
git config --list
git config
git config --global color.ui auto
git config --global user.name "John Doe"
git config --global user.email "[email protected]"
git remote add origin [email protected]:johndavidhunt/townhall.git
git push -u origin master
</pre>
<pre class="misc-notes">
game with teams, showing progress tracking with git commits etc.
links for looking up HMTL elements:
https://developers.whatwg.org/
https://developer.mozilla.org/en-US/
http://www.w3.org/TR/html5/
http://www.w3.org/TR/REC-html40/
http://www.w3.org/TR/REC-html40/struct/global.html
http://www.w3.org/TR/REC-html40/index/elements.html
</pre>
<pre class="emails">
Giovanni Difeterici <[email protected]>
Abby Starnes <[email protected]>,
Bella Wenum <[email protected]>,
Meghan Lee Smith <[email protected]>,
Tiye Gordon <[email protected]>,
Brian Slyce <[email protected]>,
Bryant Caldwell <[email protected]>,
"M. Phoenixx Pendergrass" <[email protected]>,
Matthew Teague <[email protected]>,
George Perez <[email protected]>,
"BENNETT, THOMAS J" <[email protected]>,
Zach Miller <[email protected]>,
Greg Lunn <[email protected]>,
</pre>
<pre class="ask-Greg">
what about shortcut keys in sublime text (multiple cursors etc again)
what to do about those getting behind, (get higher/taller tv screen? - follow along better?)
</pre>
</article>
<hr>
<article>
<header>
<h1>class notes - <time>January 5, 2015</time></h1>
<h3>Iron Yard Academy - Web Design Course - @SOCO</h3>
<dl>
<dt>Instructor</dt> <dd>Gregg Lunn</dd>
<dt>Campus Director</dt> <dd>Gio DiFetterricci</dd>
<dt>Campus Director</dt> <dd>Gene Crawford</dd>
<dt>Teaching Assistant</dt> <dd>John David Hunt</dd>
</dl>
</header>
<main class="notes">
<pre>
class notes.
</pre>
<a href="http://greglunn.github.io/webdesign/">http://greglunn.github.io/webdesign/</a>
<pre class="misc-notes">
possible lunch day together?
hobbyshops
natural river tour
they think they like UX UI
installed:
Sublime Text (3)
Install Package
TAG
EMMET
SASS
What is HTML vs CSS?
KeyFobs
http://www.w3.org/TR/html5/
https://developers.whatwg.org/
listen to screen reader
always must be valid (run through validator)
be able to explain it to others.
block vs inline-block
</pre>
<dl class="vocab-list">
<dt>VOCAB</dt>
<dt>!DOCTYPE</dt>
<dt>html</dt>
<dt>meta charset="utf-8"</dt>
<dt>head</dt>
<dt>title</dt>
<dt>body</dt>
<dt>p</dt>
<dt>h1..h6</dt>
<dt>strong</dt>
<dt>b</dt>
<dt>em</dt>
<dt>i</dt>
<dt>blockquote</dt>
<dt>a href="" target="_blank"</dt>
<dt>ul li</dt>
<dt>ol li</dt>
<dt>dl dd dt</dt>
<dt>table th tr td</dt>
</dl>
<div class="real-work">
<pre>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Title of Page</title>
</head>
<body>
</body>
</html>
</pre>
<!-- <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Title of Page</title>
</head>
<body>
</body>
</html>
-->
</div>
<ul class="links">
<li><h3>links to bookmark - go over later</h3> </li>
<li><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></li>
<li><a href="https://developers.whatwg.org/">https://developers.whatwg.org/</a></li>
<li><a href="http://validator.w3.org/">http://validator.w3.org/</a></li>
</ul>
<pre class="for-Gregg">
speak-up
am i going to be on the listed contact info??
</pre>
<pre class="for-Gene-Gio">
is it ok for them to be here 24/7?
explain flexdesk
video camera (security)
</pre>
</main>
<footer>
<div class="homework-list">
</div>
</footer>
</article>
</body>
</html>