-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathslides-en.html
867 lines (730 loc) · 28.5 KB
/
slides-en.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Girls Learning Code</title>
<link rel="stylesheet" href="framework/css/slideshow.css" data-noprefix>
<link rel="stylesheet" href="framework/css/fonts.css" data-noprefix>
<link rel="stylesheet" href="framework/css/highlightjs/github.css" data-noprefix>
<link rel="stylesheet" href="framework/css/styles.css" data-noprefix>
<link rel="shortcut icon" href="framework/img/favicon.ico">
<!-- Takes care of CSS3 prefixes -->
<script src="framework/scripts/prefixfree.min.js"></script>
<!-- opens all links in a new window -->
<base target="_blank">
</head>
<!-- Timer/progress bar: Define the presentation duration using "data-duration" in minutes. -->
<body class="en" data-duration="40">
<main>
<!--Slide 1-->
<section class="slide welcome highlight">
<h1><img class="logo-stacked" src="framework/img/glc-logo-stacked-white.png" alt="Girls Learning Code logo">Welcome!</h1>
<div class="instructions">
<!-- ADD WIFI INFO HERE -->
<h2>Get <br>Connected</h2>
<p><strong>Wifi:</strong></p>
<p><strong>Password:</strong> wifi password</p>
<hr>
</div>
<footer>
<a class="left" rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"><img alt="Creative Commons License" src="framework/img/cc-by-nc.png" /></a>
<p class="left">Content created by Kat Barrett, Kassandra Lenters, and Eden Beronio for <a prefix="cc: http://creativecommons.org/ns#" href="http://ladieslearningcode.com" property="cc:attributionName" rel="cc:attributionURL">Ladies Learning Code</a></p>
<p class="right">Use the left <span class="arrow">←</span> and right <span class="arrow">→</span> arrow keys to navigate</p>
</footer>
</section>
<!--Slide 2-->
<section class="slide intro">
<img class="logo" src="framework/img/glc-logo-white.png" alt="Ladies Learning Code logo">
<h1 class="heading-bg">
<span>Webmaking<br>
with HTML & CSS</span>
</h1>
<img class="instructor" src="framework/img/rio-2.jpg" alt="Rio Nicolas">
<h2><span class="cursive">with</span> Rio Nicolas</h2>
<ul>
<li><a href="https://www.linkedin.com/in/rionicolas/">linkedin.com/rionicolas</a></li>
<li><a href="https://twitter.com/search?q=%23girlslearningcode&src=typd">#girlslearningcode</a></li>
</ul>
<!--
<div class="sponsor">
<p>In partnership with<br> <img src="framework/img/telus-logo-white.svg" alt="Telus"></p>
</div>-->
<footer>
<a class="left" rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"><img alt="Creative Commons License" src="framework/img/cc-by-nc.png" /></a>
<p class="left">Slides created by <a href="http://christinatruong.com">Christina Truong</a> for <a prefix="cc: http://creativecommons.org/ns#" href="http://ladieslearningcode.com" property="cc:attributionName" rel="cc:attributionURL">Ladies Learning Code</a></p>
<p class="right">Use the left <span class="arrow">←</span> and right <span class="arrow">→</span> arrow keys to navigate</p>
</footer>
</section>
<!--Slide 3-->
<section class="slide title" data-markdown>
<script type="text/template">
#Introductions
</script>
</section>
<!--Slide 4-->
<section class="slide" data-markdown>
<script type="text/template">
# Table of Contents
<div class="table-of-contents"></div>
<!-- Intro + Example Projects + Guest Speaker (10am)
Project Ideation + Wireframing (10:15am)
Intro to HTML + CSS (10:45am)
Lunch (12:30pm)
Building time! (1:15pm)
Demos + Pushing Live (3:30pm) -->
</script>
</section>
<!--Slide 5-->
<section class="slide" data-markdown data-toc>
<script type="text/template">
#Agenda
Introduction
Code-Along
Work Session: Building your website
Break
Intro to CSS
Work Session: Styling your website
</script>
</section>
<!--Slide 6-->
<section class="slide centered" data-markdown>
<script type="text/template">
![Coders Code Banner](framework/img/workshop/scroll.png)
## 1. ASK FOR HELP <!-- .element: class="delayed" -->
## 2. BE PRESENT <!-- .element: class="delayed" -->
## 3. TRY YOUR BEST! <!-- .element: class="delayed" -->
</script>
</section>
<!--Slide 7-->
<section class="slide title" data-toc data-markdown>
<script type="text/template">
# What is Code?
</script>
</section>
<!--Slide 8-->
<section class="slide" data-markdown>
<script type= "text/template">
#Code is..
## A SET OF INSTRUCTIONS THAT TELLS THE COMPUTER WHAT TO DO.
<br>
![Running robot gif](framework/img/workshop/runningrobot.gif)
![Dancing robot gif](framework/img/workshop/dancingrobot.gif)
![eating robot gif](framework/img/workshop/eatingrobot.gif)
![Dancing robot gif](framework/img/workshop/dancingrobot2.gif)
![Dancing robot gif](framework/img/workshop/bluerobot.gif)
![Dancing robot gif](framework/img/workshop/partyrobot.gif)
<p> In code, we call a set of instructions an <strong style="color:#8b31e0;">algorithm</strong>.</p><!-- .element: class=“delayed” -->
</script>
</section>
<!--Slide 9-->
<section class="slide title" data-markdown>
<script type="text/template">
# Today's Project
## We are learning how to make a website using HTML + CSS
</script>
</section>
<!--Slide 10-->
<section class="slide title" data-markdown>
<script type="text/template">
# Why make websites?
</script>
</section>
<!--Slide 11-->
<section class="slide" data-markdown data-toc>
<script type="text/template">
#How is a website made?
1. Draw it on a piece of paper and take a photo <!-- .element: class="delayed" -->
1. Use a writing program like Microsoft Word <!-- .element: class="delayed" -->
1. Yell at the computer until it makes a website <!-- .element: class="delayed" -->
1. Write code <!-- .element: class="delayed" -->
![https://www.flickr.com/photos/baldiri/5734993652](framework/img/workshop/wireframe.jpg)
![https://www.flickr.com/photos/ivanwalsh/4457223020](framework/img/workshop/worddoc.jpg)
![https://pixabay.com/en/social-social-networks-1206614/](framework/img/workshop/angry.jpg)
![https://pixabay.com/en/code-programming-hacking-html-web-820275/](framework/img/workshop/code.jpg)
<div class="dropdown">
<button class="dropbtn">Attributions</button>
<div class="dropdown-content">
<a href="https://www.flickr.com/photos/baldiri/5734993652">Wireframing photo</a>
<a href= "https://www.flickr.com/photos/ivanwalsh/4457223020">Microsoft word photo</a>
<a href= "https://pixabay.com/en/social-social-networks-1206614/]">Social Media illustration</a>
<a href="https://pixabay.com/en/code-programming-hacking-html-web-820275/">Code photo</a>
</div>
</script>
</section>
<!--Slide 12-->
<section class="slide title" data-markdown>
<script type="text/template">
# Websites are made using code!
</script>
</section>
<!--Slide 13-->
<section class="slide centered" data-markdown data-toc>
<script type="text/template">
#What is code?
![https://pixabay.com/en/code-html-digital-coding-web-1076533/](framework/img/workshop/codelarge.jpg)
<div class="dropdown">
<button class="dropbtn">Attributions</button>
<div class="dropdown-content">
<a href="https://pixabay.com/en/code-html-digital-coding-web-1076533/">Code photo</a>
</div>
</script>
</section>
<!--Slide 14-->
<section class="slide two-col-list" data-markdown>
<script type="text/template">
#HTML
* A bit about browsers...
* We use browsers to see websites
* Browsers don’t understand English
* They do understand HTML!
* ![https://giphy.com/gifs/cat-internet-bounce-f09WzpLun6axq](framework/img/workshop/pusheeninternet.gif)
<div class="dropdown">
<button class="dropbtn">Attributions</button>
<div class="dropdown-content">
<a href="https://giphy.com/gifs/cat-internet-bounce-f09WzpLun6axq">Pusheen gif</a>
</div>
</script>
</section>
<!--Slide 15-->
<section class="slide" data-markdown>
<script type="text/template">
#HTML
* Stands for HyperText Markup Language
* We use HTML to tell the browser what our website looks like, and which content to display
![https://www.pexels.com/photo/startup-planning-notes-mac-book-7357/](framework/img/workshop/laptop.jpg)
<div class="dropdown">
<button class="dropbtn">Attributions</button>
<div class="dropdown-content">
<a href="https://www.pexels.com/photo/startup-planning-notes-mac-book-7357/">Laptop photo</a>
</div>
</script>
</section>
<!--Slide 16-->
<section class="slide title" data-markdown>
<script type="text/template">
# What does HTML look like?
</script>
</section>
<!--Slide 17-->
<section class="slide" data-markdown data-toc>
<script type="text/template">
# Elements
HTML is made up of elements, which are created using tags
```html
<p> This is a paragraph of text. </p>
```
```html
<p> = opening tag
</p> = closing tag
```
![moving tags](framework/img/workshop/tag2.gif) <!-- .element: class="delayed" -->
</script>
</section>
<!--Slide 18-->
<section class="slide centered" data-markdown>
<script type="text/template">
#Tags use < and > and /
![HTML keys](framework/img/workshop/htmlkeys.jpg)
</script>
</section>
<!--Slide 19-->
<section class="slide two-col-list" data-markdown>
<script type="text/template">
#Tags always come in pairs
* With
```html
<p>This is a paragraph of text.</p>
```
![https://commons.wikimedia.org/wiki/File:PEO-smiling_cat_face_with_open_mouth.svg](framework/img/workshop/cathappy.png)
* Without
```html
<p>This is a paragraph of text.
```
![https://commons.wikimedia.org/wiki/File:PEO-crying_cat_face.svg](framework/img/workshop/catsad.png)
<div class="dropdown">
<button class="dropbtn">Attributions</button>
<div class="dropdown-content">
<a href="https://commons.wikimedia.org/wiki/File:PEO-smiling_cat_face_with_open_mouth.svg">Happy cat emoji</a>
<a href="https://commons.wikimedia.org/wiki/File:PEO-crying_cat_face.svg">Sad cat emoji</a>
</div>
</script>
</section>
<!--Slide 20-->
<section class="slide" data-markdown>
<script type="text/template">
#Perfect Pairs
Which of these tags is the perfect pair for ```<p>```?
1. ```<p>``` <!-- .element: class="delayed" -->
1. ```</b>``` <!-- .element: class="delayed" -->
1. ```</p>``` <!-- .element: class="delayed" -->
1. ```</>``` <!-- .element: class="delayed" -->
```<p> is perfect pairs with </p>!``` <!-- .element: class="delayed" -->
</script>
</section>
<!--Slide 21-->
<section class="slide two-col-list" data-markdown data-toc>
<script type="text/template">
* Tags to Remember
```html
<html>
<head>
</head>
<body>
</body>
</html>
```
* <br>
![girl](framework/img/workshop/paperdoll.png)
</script>
</section>
<!--Slide 22-->
<section class="slide two-col-list" data-markdown>
<script type="text/template">
* Tags to Remember
```html
<html>
<head>
<title>MEOWly website</title>
</head>
<body>
<h1>MEOWly</h1>
<p>all about cats</p>
</body>
</html>
```
* <br>
![girl](framework/img/workshop/paperdoll2.png)
</script>
</section>
<!--Slide 23-->
<section class="slide title" data-markdown data-toc>
<script type="text/template">
#<a href="https://d157rqmxrxj6ey.cloudfront.net/mozillalearning/11703/">Code-Along</a>
</script>
</section>
<!--Slide 24-->
<section class="slide two-col-list" data-markdown>
<script type="text/template">
#Website Ideas
* Bakery<br> ![https://www.pexels.com/photo/muffin-sweet-bakery-treat-8279/](framework/img/workshop/bakery.jpeg)<br>
* Pet profiles<br> ![https://www.pexels.com/photo/animal-dog-pet-cute-1173/](framework/img/workshop/pet.jpeg)
* Book reviews<br> ![https://www.pexels.com/photo/girl-reading-a-notebook-6342/](framework/img/workshop/book.jpg)<br>
* DIY blog<br> ![https://www.pexels.com/photo/seated-woman-pulling-sewing-pins-from-box-60229/](framework/img/workshop/diy.jpeg)
<div class="dropdown">
<button class="dropbtn">Attributions</button>
<div class="dropdown-content">
<a href="https://www.pexels.com/photo/muffin-sweet-bakery-treat-8279/">Muffin photo</a>
<a href="https://www.pexels.com/photo/animal-dog-pet-cute-1173/">Dog photo</a>
<a href="https://www.pexels.com/photo/girl-reading-a-notebook-6342/">Book photo</a>
<a href="https://www.pexels.com/photo/seated-woman-pulling-sewing-pins-from-box-60229/">Sewing photo</a>
</div>
</script>
</section>
<!--Slide 25-->
<section class="slide" data-markdown>
<script type="text/template">
#Mozilla Thimble
## LOG IN
* Username: girlslearncode
* Password: helloworld123
</script>
</section>
<!--Slide 26-->
<section class="slide" data-markdown>
<script type="text/template">
#STEP 1: Fill in your website’s information
* Title / What is your website called?
* Heading / What is your website about?
* Paragraph / Give a short description
![https://www.pexels.com/photo/woman-desk-macbook-pro-pen-68761/](framework/img/workshop/working.jpeg)
<div class="dropdown">
<button class="dropbtn">Attributions</button>
<div class="dropdown-content">
<a href="https://www.pexels.com/photo/woman-desk-macbook-pro-pen-68761/">Programmer photo</a>
</div>
</script>
</section>
<!--Slide 27-->
<section class="slide" data-markdown>
<script type="text/template">
#STEP 2: Play around with headings
Change ```<h1> Heading </h1>``` to another number.
For example, ```<h2> Heading </h2>```
What happens?
![hello](framework/img/workshop/bubble.png)
</script>
</section>
<!--Slide 28-->
<section class="slide" data-markdown>
<script type="text/template">
#STEP 3: Add an image!
* Download an image from Google (right click > save as)
* Click on the green rectangle in Thimble
* Select “upload” and find the image on your computer
* Go back to “index.html” tab and type this in:<br>
![img tag screenshot](framework/img/workshop/imgtag.png)
* Your image should drop down. Click on it, then close the tag:
```html
<img src="img-thing.jpeg" />
```
</script>
</section>
<!--Slide 29-->
<section class="slide" data-markdown>
<script type="text/template">
#Add-On: Add a link!
(inside the ```<body>``` tags)
```html
<a href="http://www.google.com"> Click here to go to Google! </a>
```
Looks like
<a href="http://www.google.com">Click here to go to Google! </a>
</script>
</section>
<!--Slide 30-->
<section class="slide two-col-list" data-markdown>
<script type="text/template">
#Add-On: Make a list
* Use unordered lists ```<ul>``` when the order of your items doesn’t matter
```
<ul>
<li> Item </li>
<li> Item </li>
</ul>
```
<ul>
<li> Item </li>
<li> Item </li>
</ul>
* Use ordered lists ```<ol>``` when items need to be in a specific order
```
<ol>
<li> Item </li>
<li> Item </li>
</ol>
```
<ol>
<li> Item </li>
<li> Item </li>
</ol>
</script>
</section>
<!--Slide 31-->
<section class="slide" data-markdown>
<script type="text/template">
#Build your website!
* Ideas
* About us
* Example products / profiles
* Lots of images!
* Support / How to get involved
* Links to other resources or similar websites
</script>
</section>
<!--Slide 32-->
<section class="slide title" data-markdown>
<script type="text/template">
#Let's make everything beautiful!
</script>
</section>
<!--Slide 33-->
<section class="slide" data-markdown data-toc>
<script type="text/template">
#CSS
* Stands for Cascading Style Sheets
* Like HTML, CSS communicates with our browser
* It makes HTML look pretty!
![https://giphy.com/gifs/celebrate-halloween-6QyyP2Qy4EfBe](framework/img/workshop/pusheenunicorn.gif)
<div class="dropdown">
<button class="dropbtn">Attributions</button>
<div class="dropdown-content">
<a href="https://giphy.com/gifs/celebrate-halloween-6QyyP2Qy4EfBe">Pusheen gif</a>
</div>
</script>
</section>
<!--Slide 34-->
<section class="slide two-col-list" data-markdown>
<script type="text/template">
#What's the Difference?
* HTML
* Used for content
<h3>Headings</h3>
Paragraphs<br>
![Images](framework/img/workshop/images.png)<br>
<a href="http://css.cool">Links</a><br>
* Lists (like this!)
* CSS
* Used for design
<div style="color: Turquoise;">Colours</div>
<div style="font-family: Impact, Charcoal, sans-serif !important;">Fonts</div>
<div style="background-color: Gold;">Backgrounds</div>
<div style="border: 5px solid plum;">Borders</div>
<div style="font-size: 72px;">Sizes</div>
</script>
</section>
<!--Slide 35-->
<section class="slide two-col-list" data-markdown>
<script type="text/template">
#What's the Difference?
* WITHOUT CSS <br><!-- .element: class="delayed" -->
![website without css](framework/img/workshop/glcnocss.jpg)<!-- .element: class="delayed" -->
* WITH CSS <br><!-- .element: class="delayed" -->
![website with css](framework/img/workshop/glcwithcss.jpg)<!-- .element: class="delayed" -->
</script>
</section>
<!--Slide 36-->
<section class="slide title" data-markdown data-toc>
<script type="text/template">
#What does CSS look like?
</script>
</section>
<!--Slide 37-->
<section class="slide" data-markdown>
<script type="text/template">
#Example
##CSS
```css
p {
color:red;
}
```
##How does it compare to HTML?
```html
<p> This is a paragraph. </p>
```
</script>
</section>
<!--Slide 38-->
<section class="slide centered" data-markdown>
<script type="text/template">
#CSS rules use { and } and ;
![CSS keys](framework/img/workshop/csskeys.jpg)
</script>
</section>
<!--Slide 39-->
<section class="slide" data-markdown data-toc>
<script type="text/template">
#Rules
* CSS is made up of rules
* CSS targets parts of the website and tells them what to look like
* General, or specific
![https://giphy.com/gifs/love-cat-dance-aydEd3UIYy0dG](framework/img/workshop/pusheendance.gif)
<div class="dropdown">
<button class="dropbtn">Attributions</button>
<div class="dropdown-content">
<a href="https://giphy.com/gifs/love-cat-dance-aydEd3UIYy0dG">Pusheen gif</a>
</div>
</script>
</section>
<!--Slide 40-->
<section class="slide" data-markdown>
<script type="text/template">
#CSS
```css
p {
color:red;
}
```
If humans were tags...<!-- .element: class="delayed" -->
```css
human {
body: stand;
tongue: stickout;
}
```
<!-- .element: class="delayed" -->
```css
human.mentor {
hands: jazzhands;
}
```
<!-- .element: class="delayed" -->
</script>
</section>
<!--Slide 41-->
<section class="slide" data-markdown data-toc>
<script type="text/template">
#Where does CSS go?
![thimble screenshot](framework/img/workshop/csstab.jpg)
</script>
</section>
<!--Slide 42-->
<section class="slide" data-markdown>
<script type="text/template">
#Endless Style
##Go to [css.cool](css.cool)
![css.cool screenshot](framework/img/workshop/csscool.jpg)
</script>
</section>
<!--Slide 43-->
<section class="slide" data-markdown>
<script type="text/template">
#STEP 1: Change the colour
<textarea class="snippet" data-subject="#test">color: slateblue;
</textarea>
<div id="test" class="example">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsam nesciunt sint beatae dolor dolorum aliquid quis explicabo vitae numquam.
</div>
```css
p {
color: DeepPink;
}
```
![css.cool screenshot](framework/img/workshop/csscoolcol.jpg)
</script>
</section>
<!--Slide 44-->
<section class="slide" data-markdown>
<script type="text/template">
#STEP 2: Change the font
```css
h1 {
font-family: Verdana, Geneva, sans-serif;
font-size: 18px;
}
```
![css.cool screenshot](framework/img/workshop/csscoolfont.jpg)
<textarea class="snippet" data-subject="#test">font-family: times;
font-size: 18px;
</textarea>
<div id="test" class="example">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsam nesciunt sint beatae dolor dolorum aliquid quis explicabo vitae numquam.
</div>
</script>
</section>
<!--Slide 45-->
<section class="slide" data-markdown>
<script type="text/template">
#STEP 3: Change the background
<textarea class="snippet">background-color: lightblue;
color: rebeccapurple;</textarea>
```css
body {
background-color: #f5f0f0;
}
```
OR
```css
body {
background-image: image.jpeg;
}
```
* Make sure you upload the image in Thimble first!
</script>
</section>
<!--Slide 46-->
<section class="slide" data-markdown>
<script type="text/template">
#Add-On: Change the image size
```css
img {
width: 500px;
}
```
![https://www.pexels.com/photo/food-ice-cream-ice-cream-cone-8374/](framework/img/workshop/icecream.jpg)
<div class="dropdown">
<button class="dropbtn">Attributions</button>
<div class="dropdown-content">
<a href="https://www.pexels.com/photo/food-ice-cream-ice-cream-cone-8374/">Ice cream photo</a>
</div>
</script>
</section>
<!--Slide 47-->
<section class="slide" data-markdown>
<script type="text/template">
#Add-On: Style one specific tag
##In index.html
Give the tag a name ```class="small"```
```html
<img class=”small” src=”image.jpeg”/>
```
##In style.css
Add that name to a new css rule ```img.small```
```css
img.small {
width: 200px;
border-radius: 50%
}
```
</script>
</section>
<!--Slide 48-->
<section class="slide" data-markdown>
<script type="text/template">
#Add-On: Center your content
##In index.html
Create ```<section>``` tags around all of your content and give it a name (whatever you want!) ```class="container"```
```html
<body>
<section class=”container”>
(all of your content)
</section>
</body>
```
##In style.css
```css
section.container {
width: 800px;
margin-left: auto;
margin-right: auto;
}
```
Create a new css rule for this tag. Set the width and give it some space on each side (margins)
</script>
</section>
<!--Slide 49-->
<section class="slide title" data-markdown>
<script type="text/template">
#DEMOS
</script>
</section>
<!--Slide 50-->
<section class="slide" data-toc data-markdown>
<script type="text/template">
# Today I Learned...
<p><strong>I can</strong> remix websites by editing tags in HTML</p><!-- .element: class="delayed" -->
<p><strong>I can</strong> add text to my website using ```<h1>``` and ```<p>``` tags</p><!-- .element: class="delayed" -->
<p><strong>I can </strong> add images to my website using ```<img>``` tags</p><!-- .element: class="delayed" -->
<p><strong>I can</strong> design my website using CSS</p><!-- .element: class="delayed" -->
<p><strong>I can</strong> create a website from scratch!</p><!-- .element: class="delayed" -->
<p><strong>I can </strong> use Mozilla webmaking tools to KEEP CODING!</p><!-- .element: class="delayed" -->
</script>
</section>
<!-- Last slide -->
<section class="slide last">
<h1>Thank you!</h1>
<h2 class="heading-bg">
<span>Webmaking<br>with HTML & CSS</span>
</h2>
<!-- <img class="instructor" src="http://placehold.it/225x225" alt="Instructor Name"> -->
<!--<h2><span class="cursive">with</span>Girls Learning Code</h2>-->
<ul>
<li><a href="http://twitter.com/learningcode">@learningcode</a></li>
<li><a href="https://twitter.com/search?q=%23girlslearningcode&src=typd">#girlslearningcode</a></li>
</ul>
<p class="attribution">Slide presentation created by <a href="http://christinatruong.com">Christina Truong</a> based on <a href="https://github.com/LeaVerou/csss">Lea Verou's SlideShow</a> and <a href="http://lab.hakim.se/reveal-js/">reveal.js</a>.</p>
</section>
</main><!-- cls main section -->
<script src="framework/scripts/jquery-1.11.0.min.js"></script>
<script src="framework/scripts/slideshow.js"></script>
<!-- Uncomment the plugins you need -->
<script src="framework/scripts/plugins/css-edit.js"></script>
<script src="framework/scripts/plugins/css-snippets.js"></script>
<script src="framework/scripts/plugins/css-controls.js"></script>
<!-- <script src="plugins/code-highlight.js"></script>-->
<script src="framework/scripts/plugins/markdown/marked.js"></script>
<script src="framework/scripts/plugins/markdown/markdown.js"></script>
<script src="framework/scripts/plugins/highlight/highlight-8.4.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="framework/scripts/llc.js"></script>
<script>
var slideshow = new SlideShow();
// Grabs all the .snippet elements
var snippets = document.querySelectorAll('.snippet');
for(var i=0; i<snippets.length; i++) {
new CSSSnippet(snippets[i]);
}
</script>
</body>
</html>