-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathclass1.html
More file actions
968 lines (863 loc) · 26.4 KB
/
class1.html
File metadata and controls
968 lines (863 loc) · 26.4 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta
name="description"
content="Girl Develop It framework for easily creating beautiful presentations using HTML in GDI theme. Based on Hakim El Hattab's reveal.js" />
<meta
name="author"
content="Girl Develop It" />
<meta
name="apple-mobile-web-app-capable"
content="yes" />
<meta
name="apple-mobile-web-app-status-bar-style"
content="black-translucent" />
<!-- Update with GDI Course Name -->
<title>CSS Grid Basics - Class 1</title>
<link
rel="icon"
type="image/x-icon"
href="../assets/imgs/favicon.ico" />
<!-- RevealJS CDN -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/reveal.js@4.1.0/dist/reset.css" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/reveal.js@4.1.0/dist/reveal.css" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/reveal.js@4.1.0/dist/theme/simple.css"
id="theme" />
<!-- GDI Custom Theme -->
<link
rel="stylesheet"
href="../assets/css/gdi-theme.css" />
<!-- Course Custom Styles if Applicable-->
<link
rel="stylesheet"
href="style.css" />
<!-- Theme used for syntax highlighted code -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.1.0/styles/monokai.min.css" />
</head>
<body>
<div class="reveal">
<!-- Start of Slides container -->
<!-- A section element is displayed as a single slide -->
<!-- Do Not Delete slide comments / instructions -->
<!---->
<!---->
<div class="slides">
<!-- Course Title -->
<section>
<h2>CSS Grid Basics</h2>
<h2>Class 1</h2>
</section>
<!-- Course Agenda / Topics / Course Outline -->
<section>
<h2>Class Agenda</h2>
<ul>
<li>Introducing CSS Grid</li>
<li>The Evolution of Web Layout</li>
<li>CSS Flexbox vs CSS Grid?</li>
<li>Basic CSS Grid Syntax</li>
<li>Demos and Practice</li>
</ul>
</section>
<!-- Break -->
<section>
<h2>Break</h2>
<p>7p EST / 6p CST / 4p PST</p>
</section>
<!-- Course Slides -->
<!-- Create as many new sections (slides) as needed -->
<!---->
<!---->
<!-- CSS Grid: What & Why -->
<section>
<h2>CSS Grid: What & Why?</h2>
</section>
<!-- Definition: CSS Grid -->
<section>
<h4 class="width-900">
CSS Grid Layout (aka CSS Grid) is a layout module for creating flexible,
responsive
<span class="bold-600"><em>two-dimensional</em></span> layout for web user
interfaces
</h4>
</section>
<!-- Definition: 2D Layout -->
<section>
<h3>2D Layout</h3>
<p class="width-900">
We can create a grid of rows and columns, and place our UI elements into
specific areas of the grid
</p>
<p>Our elements can occupy horizontal AND vertical space at the SAME TIME</p>
</section>
<!-- Image of rows and columns -->
<section>
<h4>A Grid of Rows and Columns</h4>
<img
src="./images/grid-layout-1b.jpeg"
alt="" />
</section>
<!-- Image of page elements on a grid -->
<section>
<h4>Arranging Page Elements into the Grid</h4>
<img
src="./images/grid-layout-1a.jpeg"
alt="" />
</section>
<!-- History of Web Layout -->
<section>
<h3>A Quick History of Web Layout</h3>
</section>
<!-- Single column -->
<section>
<h3>In the beginning...</h3>
<div class="flex-container">
<div class="flex-item">
<img
src="./images/amazon-1.png"
alt="" />
<small>
<a
href="https://www.versionmuseum.com/history-of/amazon-website"
target="_blank"
>Version Museum</a
>
</small>
</div>
<div class="flex-item">
<p class="left-align">
"Web Layout" was a page with text, colored links, images, and text
alignment to make things really interesting
</p>
</div>
</div>
</section>
<!-- Tables -->
<section>
<h3>Then came tables...</h3>
<div class="flex-container">
<div class="flex-item">
<img
src="./images/amazon-2.png"
alt="" />
<small>
<a
href="https://www.versionmuseum.com/history-of/amazon-website"
target="_blank"
>Version Museum</a
>
</small>
</div>
<div class="flex-item">
<p class="left-align">
...as in the HTML tag, which was used to create more structured layout
because CSS was often not reliable across browsers
</p>
</div>
</div>
</section>
<!-- Floats, Positioning -->
<section>
<h3>Hello floats and positioning...</h3>
<p>Goodbye tables!</p>
<img
src="./images/amazon-3.png"
width="600px"
alt="" />
</section>
<!-- Flexbox -->
<section>
<h3>Then a thing called 'Flexbox' happened</h3>
<img
src="./images/amazon-4.png"
width="600px"
alt="" />
</section>
<!-- Flexbox limitations -->
<section>
<h3>Flexbox Limitations</h3>
<ul>
<li>One-dimensional</li>
<li>No overlapping elements</li>
<li>Browser inconsistencies</li>
</ul>
</section>
<!-- Benefits of CSS Grid -->
<section>
<h3>Benefits of CSS Grid</h3>
<ul>
<li>Two-dimensional system</li>
<li>Complex or unique layouts with less hacks</li>
<li>Less precision of markup placement</li>
<li>No need for vendor prefixes</li>
</ul>
</section>
<!-- CSS Grid vs CSS Flexbox? -->
<section data-background="./images/boxinggloves.jpg">
<h3 class="data-bground-contrast">CSS Flexbox vs CSS Grid?</h3>
</section>
<section>
<h3 class="width-800">
CSS Grid is <span class="bold-600">NOT</span> a replacement for CSS Flexbox
</h3>
</section>
<section>
<h3>CSS Flexbox or CSS Grid?</h3>
<p>They can be used together</p>
<img
src="./images/css-wkgroup-2.png"
alt="" />
<small class="small">
<a
href="https://www.w3.org/TR/css-grid-1/#intro"
target="_blank"
>CSS Working Group</a
>
</small>
</section>
<!-- Similar properties -->
<section>
<h3>They share similar alignment properties</h3>
<div
class="flex-container"
style="width: 600px; margin: 0 auto">
<ul class="flex-item">
<li>justify-content</li>
<li>align-items</li>
<li>align-self</li>
</ul>
<ul class="flex-item">
<li>align-content</li>
<li>gap</li>
</ul>
</div>
</section>
<!-- Guidelines for deciding -->
<section>
<h2>Simple Guidelines</h2>
</section>
<!-- Grid for layout emphasis -->
<section>
<h4>CSS Grid is ideal for layout or content placement</h4>
<ul>
<li>We want the layout to shape the content</li>
<li>We defer to the browser to calculate and distribute space</li>
<li>We want to overlap content</li>
</ul>
</section>
<!-- Flexbox for content focus -->
<section>
<h4>CSS Flexbox is ideal for content flow</h4>
<ul>
<li>We want content to drive the layout</li>
<li>We want to align items more flexibly</li>
</ul>
</section>
<!-- Visual comparison -->
<section>
<h3>Same Markup, Different Focus</h3>
<div class="flex-container">
<div class="flex-item">
<h4>CSS Grid</h4>
<img
src="./images/comparison-1.png"
alt="" />
</div>
<div class="flex-item">
<h4>CSS Flexbox</h4>
<img
src="./images/comparison-2.png"
alt="" />
</div>
</div>
</section>
<!-- Kevin Powell YouTube Clip -->
<section>
<h2>Kevin Powell</h2>
<iframe
height="450"
src="https://www.youtube.com/embed/qI6zRC_0a5Q?t=14"
title="Avoid making this mistake in your CSS"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen></iframe>
</section>
<!-- Additional articles -->
<section>
<h3>A few articles on the debate</h3>
<div class="width-900">
<small
><a
href="https://css-irl.info/to-grid-or-to-flex/"
target="_blank"
>To Grid or to Flex?</a
>
(CSS {In Real Life})</small
>
<small
><a
href="https://alvarotrigo.com/blog/css-grid-vs-flexbox/"
target="_blank"
>CSS Grid vs Flexbox | Which one should I use?</a
>
(fullPage.js)</small
>
<small
><a
href="https://css-tricks.com/quick-whats-the-difference-between-flexbox-and-grid/"
target="_blank"
>What’s the Difference Between Flexbox and Grid?</a
>
(CSS Tricks)</small
>
<small
><a
href="https://scrimba.com/articles/css-grid-vs-flexbox/"
target="_blank"
>CSS Grid vs Flexbox: How to decide (with examples)</a
>
(Scrimba)</small
>
</div>
</section>
<!-- CSS Grid Syntax -->
<section>
<h2>CSS Grid Syntax</h2>
<h3>Fundamentals</h3>
</section>
<!-- Starter Codepen links -->
<section>
<h3>Codepen Sandbox</h3>
<p>
<a
href="https://codepen.io/tinuola/full/BaOvbRe"
target="_blank"
>Starter Codepens</a
>
</p>
<p>Clone or Fork: <code>Grid Fundamentals</code></p>
</section>
<!-- Creating a Grid Container -->
<section>
<h3>Creating a Grid Container</h3>
</section>
<!-- display:grid -->
<section>
<h3><code>display: grid</code></h3>
<p>Declare <code>grid</code> property on a container</p>
<!-- prettier-ignore -->
<pre>
<code class="css">
.container {
display: grid;
}
</code>
</pre>
<p>
When <code>grid</code> is declared on a container, the container becomes a
<code>grid container</code>; elements inside the container become
<code>grid items</code>
</p>
</section>
<!-- Creating Columns & Rows -->
<section>
<h3
class="width-800"
style="margin-bottom: 1.25rem !important">
Creating and Sizing Columns & Rows
</h3>
<small class="width-800">
Create columns and rows (aka 'tracks') with
<code>grid-template-columns</code> and
<code>grid-template-rows</code>
</small>
<!-- prettier-ignore -->
<pre>
<code class="css">
.container {
display: grid;
grid-template-columns: 100px 200px 150px;
grid-template-rows: 50px 100px 150px;
}
</code>
</pre>
</section>
<!-- Grid Tracks, Cells, Area-->
<section>
<h3>Key Terms: Tracks & Cells</h3>
<small>A grid <code>track</code> is a column or row of the grid</small><br />
<small>A grid <code>cell</code> is an individual unit of the grid</small><br />
<img
src="./images/grid-track-cell-area.png"
height="375px"
alt="" />
</section>
<!-- Fractional Unit -->
<section>
<h3>Fractional Unit: <code>fr</code></h3>
<ul>
<li>New syntax that is unique to CSS Grid</li>
<li>The browser divides an element into equal or proportional parts</li>
<li>We don't have to do the math! 👏</li>
</ul>
<br /><br />
<small
><a
href="https://medium.com/flexbox-and-grids/the-css-fractional-unit-fr-in-approachable-plain-language-fdc47bd387f7"
target="_blank"
rel="noopener noreferrer"
>The CSS Fractional Unit (Fr) in Approachable, Plain Language</a
></small
>
</section>
<!-- Fractional Unit code snippet -->
<section>
<h3>Fractional Unit: <code>fr</code></h3>
<!-- prettier-ignore -->
<pre>
<code class="css">
.container {
display: grid;
grid-template-columns: 1fr 1fr 1f;
}
</code>
</pre>
<ul>
<li>Creates a grid with three columns</li>
<li>
The three columns are <code>1fr</code> each, meaning they take up equal
space
</li>
</ul>
</section>
<!-- Auto -->
<section>
<h3><code>auto</code> Unit</h3>
<!-- prettier-ignore -->
<pre>
<code class="css">
.container {
display: grid;
grid-template-columns: 1fr 1fr 1fr auto;
}
</code>
</pre>
<ul>
<li>Creates a grid with four columns</li>
<li>The first three columns take up equal space</li>
<li>
The fourth column is set to <code>auto</code>, meaning it gets whatever
space is left or is needed for its content
</li>
</ul>
</section>
<!-- Repeat() -->
<section>
<h3><code>repeat()</code></h3>
<p>
<code>repeat()</code> is a function to write shorter code when there's a
recurring pattern
</p>
<small><code>repeat(number_of_times, dimension)</code></small>
<!-- prettier-ignore -->
<pre>
<code class="css">
.container {
display: grid;
/* grid-template-columns: 1fr 1fr 1fr 1fr 1fr auto; */
grid-template-columns: repeat(5, 1fr) auto;
/* More than one unit can also be specified */
grid-template-columns: repeat(3, 1fr 50px)
}
</code>
</pre>
</section>
<!-- Gap -->
<section>
<h3><code>gap</code></h3>
<p class="width-800">Creates space or margins (aka gutters) between tracks</p>
<!-- prettier-ignore -->
<pre>
<code class="css">
.container {
display: grid;
grid-template-columns: repeat(5, 1fr) auto;
gap: 1rem;
/* gap is shorthand for:
row-gap: 1rem;
column-gap: 1rem;
*/
}
</code>
</pre>
</section>
<!-- Hands-on Work -->
<section>
<h2>Let's Develop It!</h2>
<p>
<a
href="https://codepen.io/tinuola/full/BaOvbRe"
target="_blank"
>Codepen Sandbox
</a>
</p>
<p>
Clone or Fork:<br />
<code>Grid Fundamentals Exercise</code>
</p>
</section>
<section>
<h3>Finished Grid</h3>
<img
src="./images/grid-container-result.png"
alt="" />
</section>
<!-- Sizing and Arranging grid items -->
<section>
<h3>Sizing and Arranging Grid Items</h3>
</section>
<!-- Grid Lines -->
<section>
<h3>Key Term: Grid Lines</h3>
<p>
Grid items are arranged along <code>grid lines</code> -- the dividing
horizontal and vertical lines that make up the grid
</p>
<small
><a
href="https://www.smashingmagazine.com/2020/01/understanding-css-grid-lines/"
target="_blank"
rel="noopener noreferrer"
>Understanding CSS Grid: Grid Lines</a
>
(Smashing Magazine)</small
>
</section>
<!-- Image of Grid Lines -->
<section>
<h3>Grid Lines</h3>
<img
src="./images/grid-lines.png"
alt="" />
</section>
<!-- Grid Lines Demo -->
<section>
<h3>Grid Lines Demo</h3>
<p>
<a
href="https://codepen.io/tinuola/full/BaOvbRe"
target="_blank"
>Codepen Sandbox
</a>
</p>
<p>
Clone or Fork:<br />
<code>Grid Sizing & Placement</code>
</p>
</section>
<!-- Dev Tools -->
<section>
<h3>Grid Lines in Dev Tools</h3>
<ul>
<li>Open up your browser's Developer Tools</li>
<li>
In the <code>Elements</code> (Chrome) or <code>Inspector</code> (Firefox)
tool tab, select the <code>Layout</code> panel
</li>
<li>
Select the <code>Grid Overlays</code> (Chrome) or
<code>Overlay Grid</code> (Firefox) option
</li>
</ul>
</section>
<!-- Line-based Placement -->
<section>
<h3>Line-Based Placement</h3>
<p>
Grid lines are used to position where an element or grid item should start and
end
</p>
</section>
<!-- Placement properties -->
<section>
<h3>Placement Properties</h3>
<p>
The following placement properties are used on <code>grid items</code> to
position them on the grid
</p>
<!-- prettier-ignore -->
<pre>
<code class="css">
.item1 {
grid-column-start: 1; /* Start at Column Line 1*/
grid-column-end: 3; /* End at Column Line 3 */
grid-row-start: 1; /* Start at Row Line 1 */
grid-row-end: 3; /* End at Row Line 3*/
}
</code>
</pre>
</section>
<section>
<p>
A <code>grid item</code> can start at any point on the grid--not just at
<code>line 1</code>
</p>
<p>
When this happens, the browser will shift other elements to maintain the flow
of the grid
</p>
<!-- prettier-ignore -->
<pre>
<code class="css">
.item1 {
grid-column-start: 3;
grid-column-end: 5;
grid-row-start: 2;
grid-row-end: 6;
}
</code>
</pre>
</section>
<!-- Placement Property shorthand -->
<section>
<h3>Placement Shorthands</h3>
<p>The placement properties can also be written in shorthand form:</p>
<small><code>grid-column: start / end</code></small
><br />
<small><code>grid-row: start / end</code></small>
<!-- prettier-ignore -->
<pre>
<code class="css">
.item1 {
grid-column: 1 / 3;
grid-row: 1 / 3;
}
</code>
</pre>
</section>
<!-- One-Cell Placement -->
<section>
<h3>One-Cell Placement</h3>
<p>
When a <code>grid item</code> occupies only one cell, the
<code>ending grid line number</code> can be omitted
</p>
<!-- prettier-ignore -->
<pre>
<code class="css">
.item1 {
grid-column: 3;
grid-row: 2;
}
</code>
</pre>
</section>
<!-- Spanning -->
<section>
<h3>Span-Based Placement</h3>
<p>
An alternate way to place grid items across multiple cells is to use the
<code>span</code> keyword
</p>
</section>
<section>
<h3><code>span</code> Syntax</h3>
<small><code>grid-column: span #_of_cells</code></small
><br />
<small><code>grid-column: starting line # / span #_of_cells</code></small
><br />
<small><code>grid-column: span #_of_cells / ending line #</code></small>
<!-- prettier-ignore -->
<pre>
<code class="css">
.item1 {
grid-column: span 3;
/* Default starting position, then span 3 cells */
grid-row: 2 / span 2;
/* Start at grid-row line 2 and span down 2 cells */
}
</code>
</pre>
</section>
<!-- Full-Width Spanning -->
<section>
<h3>CSS Grid Trick: Full Width Spanning</h3>
<p>
Create a full-width span effect by setting the ending grid line number to
<code>-1</code>
</p>
<!-- prettier-ignore -->
<pre>
<code class="css">
.item1 {
grid-column: 1 / -1;
grid-row: 3;
}
</code>
</pre>
</section>
<!-- Hands-on Work -->
<section>
<h2>Let's Develop It!</h2>
<p>
<a
href="https://codepen.io/tinuola/full/BaOvbRe"
target="_blank"
>Codepen Sandbox
</a>
</p>
<p>
Clone or Fork:<br />
<code>Grid Sizing & Placement Exercise</code>
</p>
</section>
<!-- End Result -->
<section>
<h3>Finished Grid</h3>
<img
src="./images/grid-sizing-placement-result.png"
alt="" />
</section>
<!-- Resources -->
<section>
<h3>Resources</h3>
<div class="width-900">
<small>
<a
href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout"
target="_blank"
rel="noopener noreferrer"
>CSS Grid Layout (MDN Docs)</a
></small
>
<small>
<a
href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Basic_Concepts_of_Grid_Layout"
target="_blank"
rel="noopener noreferrer"
>Basic Concepts of Grid Layout (MDN Docs)</a
></small
>
<small>
<a
href="https://css-tricks.com/snippets/css/complete-guide-grid/"
target="_blank"
rel="noopener noreferrer"
>A Complete Guide to CSS Grid (CSS Tricks)</a
>
</small>
</div>
</section>
<!-- Next Class and Topics -->
<section>
<h3>Class 2</h3>
<ul>
<li>Overlapping Elements</li>
<li>Name-based Placement</li>
<li>CSS Grid and Media Queries</li>
<li>Explicit and Implicit Grid</li>
<li>Sizing with Functions & Keywords</li>
<li>Demos and Practice</li>
</ul>
</section>
<!-- OPTIONAL: Showcase Student Work -->
<!-- <section>
<h2>Share What You've Built!</h2>
</section> -->
<!-- MUST-USE SLIDE -->
<!-- Add Course Survey Link -->
<section>
<h2>Give Us Your Feedback</h2>
<h3>
<a
href="https://forms.gle/Y1nbJ79JqJThYM9z6"
target="_blank"
>Survey Link</a
>
</h3>
</section>
<!-- Q&A -->
<section>
<h2>Q&A</h2>
</section>
<!-- Thank You -->
<section>
<img
src="../assets/imgs/gdi-logos/gdi-logo_peach.png"
alt="GDI Logo"
width="300px"
class="noborder" />
<br />
<h2>Thank You!</h2>
</section>
</div>
<!-- End of Slides container -->
<!---->
<!---->
<!-- Update Footer with Course Name -->
<footer>
<div class="copyright">
<img
src="../assets/imgs/gdi-logos/gdi-logo_peach.png"
alt="GDI Logo"
width="40px"
class="noborder" />
<p>CSS Grid Basics</p>
<a
rel="license"
href="http://creativecommons.org/licenses/by-nc/3.0/deed.en_US"
><img
alt="Creative Commons License"
style="border-width: 0"
src="http://i.creativecommons.org/l/by-nc/3.0/80x15.png"
/></a>
</div>
</footer>
</div>
<!-- End of Reveal wrapper -->
<!---->
<!---->
<!-- REVEAL.JS Script Files - Do Not Edit -->
<script src="https://cdn.jsdelivr.net/npm/reveal.js@4.1.0/dist/reveal.js"></script>
<script src="https://cdn.jsdelivr.net/npm/reveal.js@4.1.0/plugin/highlight/highlight.js"></script>
<script src="https://cdn.jsdelivr.net/npm/highlightjs-badge@0.1.9/highlightjs-badge.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jsPlumb/2.15.5/js/jsplumb.min.js"></script>
<script>
const srcUrlPrefix = 'https://cdn.jsdelivr.net/npm/reveal.js@4.1.0/';
Reveal.initialize({
hash: true,
center: true,
slideNumber: true,
showNotes: false,
margin: 0.1,
preloadIframes: true,
plugins: [RevealHighlight],
pdfSeparateFragments: true,
});
// add HighlightJS-badge (options are optional)
var options = {
copyIconContent: '📄',
checkIconContent: '✅',
};
window.highlightJsBadge(options);
if (window.location.search == '?print-pdf') {
var uncounted = document.querySelectorAll("[data-visibility='uncounted']");
uncounted.forEach((node) => {
node.parentNode.classList.add('no-print');
});
}
</script>
</body>
</html>