forked from gdiphilly/intro-programming-concepts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·583 lines (476 loc) · 23.8 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Intro to Programming Concepts for True Beginners</title>
<meta name="description" content="Adapted from Boulder Girl Develop It">
<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" />
<link rel="stylesheet" href="reveal/css/reveal.css">
<link rel="stylesheet" href="reveal/css/theme/gdisunny.css" id="theme">
<link rel="stylesheet" href="css/styles.css">
<!-- For syntax highlighting -->
<!-- light editor--><link rel="stylesheet" href="reveal/lib/css/light.css">
<!-- dark editor<link rel="stylesheet" href="reveal/lib/css/dark.css">-->
<link rel="stylesheet" href="reveal/lib/css/zenburn.css">
<link rel="stylesheet" href="reveal/plugin/accessibility-helper/css/accessibility-helper.css">
<!-- If the query includes 'print-pdf', include the PDF print sheet -->
<script>
if( window.location.search.match( /print-pdf/gi ) ) {
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = 'reveal/css/print/pdf.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
}
</script>
<!-- If use the PDF print sheet so students can print slides-->
<link rel="stylesheet" href="reveal/css/print/pdf.css" type="text/css" media="print">
<link rel="icon" type="image/x-icon" href="images/favicon.ico" />
<!--[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">
<!-- Introduction -->
<section>
<h3>Introduction to Programming Concepts (for True Beginners!)</h3>
<div>Slides: <a href="http://gdiphilly.github.io/intro-programming-concepts">http://gdiphilly.github.io/intro-programming-concepts</a></div>
<img src="images/philly_logo_badge.jpg" alt="Girl Develop It Philly" style='height: 300px; width: 300px; border: 0px;'>
</section>
<!-- Welcome-->
<section class="hide-pdf">
<h3>Welcome!</h3>
<div class = "left-align">
<p>Girl Develop It is here to provide affordable and accessible programs to learn software through mentorship and hands-on instruction.</p>
<p class ="green">Some "rules"</p>
<ul>
<li>We are here for you!</li>
<li>Every question is important</li>
<li>Help each other</li>
<li>Have fun</li>
</ul>
</div>
</section>
<section>
<h3>What we'll cover today</h3>
<ul>
<li class='fragment'>What is a computer program?</li>
<li class='fragment'>Variables</li>
<li class='fragment'>Memory and Storage</li>
<li class='fragment'>Logical Operators</li>
<li class='fragment'>If/Then/Else Statements</li>
<li class='fragment'>Loops</li>
<li class='fragment'>Comments</li>
</ul>
</section>
<section>
<h3>Computer Programs</h3>
<p style='align-left'>Computer programs are <strong>everywhere</strong>.</p>
<br/>
<ul class='fragment'>
<li>They run parts of your car</li>
<li>They let you check your email on your phone</li>
<li>They comb through millions of results to match your search terms on the web</li>
</ul>
<br/> <br />
<p class='fragment'>But how do you go from an idea to a computer program? And what IS a computer program?</p>
</section>
<section>
<h3>What is Code?</h3>
<p>Turns out you're not the only person to wonder this.</p>
<p>Paul Ford wrote a 38,000-word essay called <a href='http://www.bloomberg.com/graphics/2015-paul-ford-what-is-code/'>"What is Code"</a> that was published on June 11, 2015, in <em>Bloomberg Businessweek</em>, and it captured the attention of many.</p>
</section>
<section>
<h3>Computer Programs</h3>
<p>At its core, a computer program is a way of getting something done.</p>
<p class='fragment'>One of the ways to accomplish "getting something done" is a list of instructions that tells the computer exactly what to do and allows interaction with human beings.</p>
<p class='fragment'>Those instructions have to be written in a "language" that the computer can understand.</p>
</section>
<section>
<h3>Computer Programs</h3>
<p>Computers don't understand things the same way humans do. Words and symbols that make sense to human eyes need to be translated down to <strong>binary</strong> for the computer to understand.</p>
<p class='fragment'><strong>Binary</strong> is a system of expressing everything using only 1s and 0s.</p>
<p class='fragment'>For example, in ASCII (one system of encoding in binary), the lower case letter 'a' is represented as '1100001'.</p>
</section>
<section>
<h3>Computer Programs</h3>
<p>From human-readable languages to binary:</p>
<img src='images/compilerflow.png' style='height:450px;'>
<br/>
<div><small>Image credit: https://blog.malwarebytes.org/intelligence/2012/09/so-you-want-to-be-a-malware-analyst/</small></div>
</section>
<section>
<h3>Computer Programs</h3>
<p>One can draw an analogy from a computer to the human body, and from coders to scientists!</p>
<ul>
<li class='fragment'>Programmers who work with high-level languages treat computers the way a primary care physician looks at your body. They take a holistic approach to understanding how your organs work together.</li>
<li class='fragment'>Programmers who work with low-level languages treat computers the way a researcher might investigate a disease in your body. They may need to understand specifics of how parts of your cells work in order to understand how they're malfunctioning.</li>
</ul>
</section>
<section>
<h3>Programming Languages</h3>
<p>So which human-readable programming language do you choose to use?</p>
<br/>
<p class='fragment'>It depends on the task you're trying to accomplish!</p>
<br/>
<p class='fragment'>Different languages are designed to do different things.</p>
</section>
<section>
<h3>Programming Languages</h3>
<ul>
<li>To develop websites, you might use HTML, JavaScript, Python, Java, or PHP.</li>
<li class='fragment'>To create databases and move information in and out of them, you might use MySQL, SQL, or Access.</li>
<li class='fragment'>To write applications like Microsoft Word or Adobe Acrobat, you might use C++, Java, or Visual Basic.</li>
</ul>
</section>
<section>
<h3>Computers are dumb</h3>
<ul>
<li class='fragment'>Computers can only do what they have instructions for, and they take those instructions VERY literally.</li>
<li class='fragment'>As a result, you have to tell them every single thing you want them to do and every single thing to take into consideration. </li>
<li class='fragment'>If you leave any instructions out (or put them in the “wrong” order), the results might not be what you expect.</li>
</ul>
</section>
<section>
<h3>Demonstration</h3>
<div>I need a volunteer...</div>
</section>
<section>
<h3>PEBKAC</h3>
<p>Ever heard of the acronym "PEBKAC"?</p>
<br/>
<div>
<span class='fragment'><strong>P</strong>roblem</span>
<span class='fragment'><strong>E</strong>xists</span>
<span class='fragment'><strong>B</strong>etween</span>
<span class='fragment'><strong>K</strong>eyboard</span>
<span class='fragment'><strong>A</strong>nd</span>
<span class='fragment'><strong>C</strong>hair</span>
</div>
<br/>
<p class='fragment'>In other words, <strong>user error</strong>.</p>
<br/>
<p class='fragment'>Remember, when you're writing a program and the computer is executing it, the computer is only doing what you told it to do. If it's not working the way you expect, look for an error in your program.</p>
</section>
<section>
<h3>Hello, World!</h3>
<p>Just like English has the concepts of vocabulary and grammar, so do computer languages!</p>
<br/>
<p class='fragment'>In computer programming, the <strong>syntax</strong> of a computer language is what defines if the combination of letters and symbols used are considered a valid construction in that language.</p>
</section>
<section>
<h3>Hello, World!</h3>
<p>When you're first playing around and learning the syntax of a new computer language, one of the most common first exercises is called <strong>"Hello, World!"</strong>.</p>
<br/>
<p class='fragment'>The "Hello, World!" program is one that outputs the text "Hello, World!" on the screen for the user.</p>
<br/>
<p class='fragment'>This task is usually relatively simple to accomplish in most programming languages, so it's a good warm-up exercise.</p>
</section>
<section>
<h3>Hello, World!</h3>
<p>There are <a href='http://helloworldcollection.de/'>many, many, many examples</a> in many, many, many languages.</p>
<br/>
<div class='fragment'>Let's try it!</div>
<br/>
<p class='fragment'>We're going to use a website called <a href='https://repl.it/' target='_blank'>https://repl.it/</a> to try out "Hello, World!" in a language or two.</p>
</section>
<section>
<h3>Getting started</h3>
<p>Once you have a project and a language, you'll want to program your project in that language.</p>
<br/>
<p class='fragment'>Let's talk about some of the basic foundational building blocks of all programming languages.</p>
<br />
<p class='fragment'>Keep in mind that each language may have a different <strong>syntax</strong> for expressing these concepts, but the underlying concepts will be the same through them all.</p>
</section>
<section>
<h3>Variables</h3>
<p>A <strong>variable</strong> is a storage container for information.</p>
<br />
<p class='fragment'>A variable has a <strong>name</strong> that you use to refer to it, and a <strong>value</strong>, which is the information it contains.</p>
<br />
<p class='fragment'>For example:</p>
<ul class='fragment' style='width: 500px;'>
<li>age = 28</li>
<li>color = blue</li>
</ul>
<br /><br />
<p class='fragment'>There are different types of variables based on the information that you want to store.</p>
</section>
<section>
<h3>Integers and Floats</h3>
<p><strong>Integer variables</strong> are used to store integers (0 as well as positive and negative whole numbers).</p>
<br/>
<p class='fragment'><strong>Float variables</strong> are used to store numbers with fractional values (that is, containing decimal places).</p>
<br/>
<p class='fragment'>For example, consider Amazon.com:</p>
<ul>
<li class='fragment'>The number of books you can order is stored as an integer (e.g., 2)</li>
<li class='fragment'>The price of the books is stored as a float (e.g., 15.99)</li>
</ul>
<br /><br/>
<p class='fragment'>Not every programming language makes a distinction between these two, but it's good to be aware of.</p>
</section>
<section>
<h3>Strings</h3>
<p><strong>String variables</strong> are used to store text. A string is made up of <strong>characters</strong> like letters, numbers, and symbols.</p>
<br/>
<p class='fragment'>For example, on Amazon.com:</p>
<ul>
<li class='fragment'>In your profile, information like your name, address, state, and city are stored as strings.</li>
<li class='fragment'>An item's description is stored as a string</li>
</ul>
<br/><br/>
<p class='fragment'>Usually when you're creating a string variable, you will need to surround the value with either single or double quotation marks (either ' or ") to specify the start and end of the string. (Remember how "Hello, World!" had quotes?)</p>
</section>
<section>
<h3>Numbers as strings</h3>
<p>You <b>can</b> store a number as a string variable, but then you typically can't use it in any mathematical calculations.</p>
<br />
<p class='fragment'>For example, credit card numbers are integers, but you would never use them in a mathematical calculation, so you could store them either way.</p>
<br />
<p class='fragment'>As another example, consider postal codes. If you store them as integers, then you can only support codes from the USA! Other countries use postal codes with letters in them (e.g., BL1 1AD is in the UK).</p>
</section>
<section>
<h3>Boolean Variables</h3>
<p><strong>Boolean variables</strong> are used to store the value <b>TRUE</b> or <b>FALSE</b> (yes or no).</p>
<br/>
<p class='fragment'>Booleans are most frequently used to control whether certain functionality is enabled or disabled.</p>
<br/>
<p class='fragment'>For example, back on Amazon.com, if your login credentials validate, this may be stored as a "true" (yes). As a result, your account information displays, your cart is populated, etc.</p>
</section>
<section>
<h3>Storage and Memory</h3>
<p>You may be asking yourself how exactly the computer "stores" these variables. As anyone who's shopped for a computer knows, there's a lot of terms when it comes to computer storage and memory. Let's briefly touch on them.</p>
</section>
<section>
<h3>Memory</h3>
<p><strong>RAM</strong> or <strong>Random Access Memory</strong> is where the computer does its "thinking".</p>
<br/>
<p>This is where programs temporarily store data like variables while executing programs. Data in RAM is frequently overwritten and is destroyed when you turn off your computer.</p>
</section>
<section>
<h3>Memory</h3>
<p><strong>ROM</strong> or <strong>Read-Only Memory</strong> is for the most part not editable.</p>
<br/>
<p>It's used by the computer to store important pieces of data when switched on, like data about the operating system.</p>
</section>
<section>
<h3>Storage</h3>
<p><strong>Storage</strong> a more permanent type of memory. The computer user can utilize it to keep data around even after the computer is turned off.</p>
<br/>
<p>Examples include the hard drive on the computer, a thumb drive, or an external hard drive.</p>
</section>
<section>
<h3>Operators</h3>
<p>Now that we have variables storing data for us, what can we do with them?</p>
<br/>
<p class='fragment'>We use <strong>operators</strong> to compare, combine, or evaluate combinations of variables in order to produce some desired output. We could then store this output in another variable, if we wanted!</p>
</section>
<section>
<h3>Operators</h3>
<p>Some examples of operators:</p>
<br/>
<ul style='width:600px;'>
<li>= (equal to)</li>
<li>!= (not equal to)</li>
<li>> (greater than)</li>
<li>< (less than)</li>
<li>>= (greater than or equal to)</li>
<li><= (less than or equal to)</li>
<li>and</li>
<li>or</li>
</ul>
</section>
<section>
<h3>If/Then/Else</h3>
<p>If/Then/Else statements evaluate a condition and take actions based on the result.</p>
<br />
<p class='fragment'><strong>If</strong> the given condition is <strong>true</strong>, <strong>Then</strong> the computer will do the actions you specify in the <strong>If clause</strong>. (In some languages, the word "then" is implied.)</p>
<br/>
<p class='fragment'><strong>Else</strong> (otherwise), if the given condition is <strong>false</strong>, the computer will do the actions you specify in the <strong>Else clause</strong>.</p>
</section>
<section>
<h3>If/Then/Else</h3>
<p>Let's practice If/Then/Else in the language <strong>Ruby</strong>.</p>
<br />
<p>Let's go back to <a href="http://repl.it/languages" target="_blank">repl.it</a> and choose the language "Ruby" under "Popular" languages.</p>
</section>
<section>
<h3>If/Then/Else</h3>
<p>Copy or type the following into the left-hand side and click the "play" button:</p>
<pre><code="html">
cart_total = 8
if cart_total > 2
print "You get free shipping!"
end
</code></pre>
<ul>
<li>Change the numbers and see what happens.</li>
<li>Change the operators (greater than, less than, etc.) and see what happens</li>
</ul>
</section>
<section>
<h3>If/Then/Else</h3>
<p>Let's make this a little more complicated and add an "else" statement after the "if" statement!</p>
<pre><code="html">
cart_total = 8
if cart_total > 2
print "You get free shipping!"
else
print "You'll have to pay for shipping."
end
</code></pre>
<ul>
<li>Change the numbers and see what happens.</li>
<li>Change the operators (greater than, less than, etc.)</li>
<li>Change the string outputs.</li>
</ul>
</section>
<section>
<h3>Loops</h3>
<p>A <strong>loop</strong> is a list of instructions that repeats until a certain condition is met.</p>
<br/>
<p class='fragment'>For example:</p>
<ul>
<li class='fragment'>In real life: As long as it's raining, use an umbrella.</li>
<li class='fragment'>On Ebay.com: Allow bids on this item until the auction timer hits 0.</li>
</ul>
<br/><br />
<p class='fragment'>One reason to use a loop is to reduce the number of lines of code you need to write to accomplish a task.</p>
</section>
<section>
<h3>Loops</h3>
<p><strong>Important</strong>: Beware the <strong>infinite loop</strong>!</p>
<br />
<p class='fragment'>An infinite loop is a loop that will never meet the condition to stop. For example, if you're waiting for a variable (like that ebay timer) to reach 0, but the timer variable keeps *increasing* instead of *decreasing*, the loop will continue forever!</p>
<br />
<p class='fragment'>Your program will keep running until it uses up all your computer's RAM memory. This is BAD!</p>
</section>
<section>
<h3>Loops</h3>
<p>There are two kinds of loops:</p>
<ul style='width:500px;'>
<li class='fragment'><strong>While</strong> loops
<li class='fragment'><strong>For</strong> loops
</ul>
</section>
<section>
<h3>While loops</h3>
<p>A while loop allows code to be executed repeatedly based on a given condition, often based on the value of a variable. Usually your code will need to change the variable within the body of the loop.</p>
<br />
<pre><code='html'>
number_of_bottles = 99
while number_of_bottles > 0:
print number_of_bottles
print ' bottles of beer on the wall'
number_of_bottles = number_of_bottles - 1
print 'no more bottles of beer!'
</code></pre>
<br/>
<p>Let's try this in <a href="http://repl.it/languages" target="_blank">repl.it</a>. This time, choose the language "Python" under "Popular".</p>
</section>
<section>
<h3>While loops</h3>
<p>Things to try:</p>
<ul>
<li>Change the numbers to see what happens.</li>
<li>Change the operators (greater than, less than, etc.)</li>
<li>Change the string statements.</li>
</ul>
<br/><br/>
<p>Careful not to create an infinite loop! If you do, you may need to force-quit your browser!</p>
</section>
<section>
<h3>For loops</h3>
<p>For loops are very similar to while loops. They just have a different syntax. In a for loop, you set up the conditional AND increment or decrement your variable in the same line.</p>
<br/>
<p class='fragment'>Redoing our last example with a for loop, again in Python:</p>
<pre class='fragment'><code='html'>
for number_of_bottles in range(99, 0, -1):
print number_of_bottles
print ' bottles of beer on the wall'
print 'no more bottles of beer!'
</code></pre>
</section>
<section>
<h3>Comments</h3>
<p>One final thing to keep in mind is that it's good practice to leave <strong>comments</strong> in your code. Comments are not executed by the program. They're just there for you to read.</p>
<br/>
<p class='fragment'>Comments should explain why your code is doing what it's doing.</p>
<br/>
<p class='fragment'>For example, in PHP, comments are preceded by either a # or a //.</p>
<pre class='fragment'><code='php'>
# The following code prints something
print 'hello, world!';
</code></pre>
</section>
<section>
<h3>What we learned today</h3>
<ul>
<li class='fragment'>What is a computer program?</li>
<li class='fragment'>Variables</li>
<li class='fragment'>Memory and Storage</li>
<li class='fragment'>Logical Operators</li>
<li class='fragment'>If/Then/Else Statements</li>
<li class='fragment'>Loops</li>
<li class='fragment'>Comments</li>
</ul>
</section>
<section>
<h3>Coding Classes Resources (most are free) and Books</h3>
<ul>
<li>Code year:<a href="http://www.codecademy.com/tracks/code-year" target="_blank">www.codecademy.com/tracks/code-year</a></li>
<li>Codecademy: <a href="http://www.codecademy.com" target="_blank">www.codecademy.com</a></li>
<li>Coursera: <a href="https://www.coursera.org" target="_blank">www.coursera.org</a></li>
<li>Kahn Academy: <a href="https://www.khanacademy.org" target="_blank">www.khanacademy.org</a></li>
<li>Skillcrush: <a href="http://skillcrush.com" target="_blank">www.skillcrush.com</a></li>
<li>Udacity: <a href="https://www.udacity.com" target="_blank">www.udacity.com</a></li>
<li>Udemy: <a href="https://www.udemy.com" target="_blank">www.udemy.com</a></li>
<li>And of course, <a href="http://www.girldevelopit.com/chapters/philadelphia" target="_blank">GDIPhilly!</a></li>
<li> <a href="http://www.amazon.com/Program-Second-Edition-Facets-Series/dp/1934356360" target="_blank">Learn to Program</a>, by Chris Pine</li>
<li> <a href="http://www.amazon.com/Everyday-Scripting-Ruby-Teams-Testers/dp/0977616614/ref=sr_1_1?s=books&ie=UTF8&qid=1405369294&sr=1-1&keywords=everyday+scripting+with+ruby" target="_blank">Everyday Scripting in Ruby</a>, by Brian Marick</li>
</ul>
</section>
<section>
<h3>Thank you for attending!</h3>
<p>Please help us make this class better by completing this short survey:</p>
<br/>
<div><a target="_blank" href="http://bit.ly/programming-concepts-survey">http://bit.ly/programming-concepts-survey</a></div>
</section>
</div>
<footer>
<div class="copyright">
Introduction to Programming Concepts (for True Beginners!) ♥ Girl Develop It Philly
<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>
<script src="reveal/lib/js/head.min.js"></script>
<script src="reveal/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,
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/none
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: 'reveal/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'reveal/plugin/markdown/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'reveal/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'reveal/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'reveal/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: 'reveal/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
]
});
</script>
</body>
</html>