-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
366 lines (327 loc) · 13.7 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HTML + CSS Workshop</title>
<meta name="description" content="Introduction to HTML + CSS Workshop">
<meta name="author" content="MakerSquare">
<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/makersquare.css" id="theme">
<link rel="icon" href="favicon.ico">
<!-- For syntax highlighting -->
<link rel="stylesheet" href="lib/css/zenburn.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 = 'css/print/pdf.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
}
</script>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<!-- Introduction -->
<div class="slides">
<section>
<h1>Introduction to <strong>HTML + CSS</strong> Workshop</h1>
<p>Presented by Josh Medeski</p>
<p><a href="http://j.mp/htxworkshop" target="_blank">http://j.mp/htxworkshop</a></p>
</section>
<section>
<img src="images/haaaaaay.gif" alt="Jimmy Fallen saying HAAAAAAY">
<h1>Welcome!</h1>
<p>Thank you for coming! We are so glad you are interested in learning something new. Today is going to be interesting, simple, and <strong>FUN!</strong></p>
<aside class="notes">
Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you open the speaker notes window (hit 's' on your keyboard).
</aside>
</section>
<section>
<h2>Workshop <strong>Agenda</strong></h2>
<p>Here's is what I want you to learn in today's workshop:</p>
<ul>
<li class="fragment">How to <strong>STRUCTURE</strong> a web page using <strong>HTML</strong></li>
<li class="fragment">How to <strong>STYLE</strong> a web page using <strong>CSS</strong></li>
<li class="fragment">How to <strong>MANIPULATE</strong> a web page using the <strong> INSPECTOR</strong></li>
<li class="fragment">How to <strong>BUILD</strong> a web page <em>quickly</em> with a <strong>FRAMEWORK</strong></li>
</ul>
</section>
<section>
<img src="images/hand-raise.gif" alt="Guy raising his hand">
<h2>Please Ask <strong>Questions</strong></h2>
<p>We will be covering a lot of material, so please ask for help if you need help with anything or need clarification.</p>
</section>
<!-- Tools -->
<section>
<section>
<h1>Tools</h1>
<p>Before we begin, there are some tools and resources we will need.</p>
</section>
<section>
<img src="images/chrome.jpg" alt="Google Chrome">
<h2>Google Chrome</h2>
<a href="http://www.google.com/chrome/" target="_blank">http://www.google.com/chrome/</a>
</section>
<section>
<img src="images/sublime-text.jpg" alt="Sublime Text">
<h2>Sublime Text</h2>
<a href="http://www.sublimetext.com/" target="_blank">http://www.sublimetext.com/</a>
</section>
<!-- <section>
<img src="images/codepen.jpg" alt="Codepen">
<h2>Codepen</h2>
<a href="http://codepen.io/" target="_blank">http://codepen.io/</a>
</section> -->
</section>
<!-- HTML -->
<section>
<section>
<img src="images/building.gif" alt="animated picture of an old building be built">
<h1>HTML</h1>
<p><em>Hyper Text Markup Language</em></p>
</section>
<section>
<h2>HTML <strong>Structures</strong> the Web</h2>
<p>Just like a newspaper, the web also needs structure (titles, columns, images, etc...).</p>
<img src="images/html-newspaper.jpg" alt="Picture of a newspaper and website showing the same content">
</section>
<section>
<h2>Sample of HTML</h2>
<img src="images/html-sample.jpg" alt="HTML code sample">
</section>
<section>
<h2>Sample of HTML</h2>
<img src="images/html-preview.jpg" alt="Laptop displaying HTML sample">
</section>
<section>
<h2>Elements</h2>
<p>HTML uses <strong>elements</strong> to describe the structure of pages</p>
<img src="images/html-code.jpg" alt="">
<p>An element is composed of a opening tag, content, and a closing tag.</p>
</section>
<section>
<h2>Opening Tag</h2>
<img src="images/html-opening-tag.jpg" alt="">
<p>The character(s) defines the tags purpose.</p>
</section>
<section>
<h2>Closing Tag</h2>
<img src="images/html-closing-tag.jpg" alt="">
</section>
<section>
<h2>Tag Attributes</h2>
<img src="images/html-tag-attribute.jpg" alt="">
<p>Attributes add extra information to an element. They always appear with the opening tag.</p>
</section>
<section>
<h2>HTML, HEAD, TITLE, BODY</h2>
<p>Every web page is structured with the following elements.</p>
<img src="images/html-head-title-body.jpg" alt="">
</section>
<section>
<h2><strong>Practice:</strong> Your First Web Page</h2>
</section>
<section>
<p>Open <strong>Sublime Text</strong> and re-create the following content:</p>
<img src="images/html-head-title-body.jpg" alt="">
<p>When you are done, open the file with <strong>Google Chrome</strong></p>
</section>
<section>
<img src="images/html-congrats.gif" alt="">
<h3><strong>Congrats</strong> gold stars for everyone!</h3>
</section>
<section>
<h2><strong>HTML</strong> Summary</h2>
<ul>
<li class="fragment">HTML creates <strong>structure</strong> for the web (think newspapers)</li>
<li class="fragment">HTML is made up of <strong>elements</strong></li>
<li class="fragment">HTML <em>elements</em> have an <strong>opening</strong> and <strong>closing tags</strong></li>
<li class="fragment">HTML <em>tags</em> can include <strong>attributes</strong></li>
<li class="fragment">HTML is made up of <strong>html, head, title, and body</strong> elements</li>
</ul>
</section>
</section>
<!-- CSS -->
<section>
<section>
<img src="images/painting.gif" alt="Pink Panther Painting">
<h1>CSS</h1>
<p><em>Cascading Style Sheets</em></p>
</section>
<section>
<h2>CSS <strong>Styles</strong> the Web</h2>
<p>Just like the toolbar in Microsoft Word, CSS allows you to change the look and feel of a web page.</p>
<img src="images/css-word.jpg" alt="">
</section>
<section>
<h2>Sample of CSS</h2>
<img src="images/css-sample.jpg" alt="">
</section>
<section>
<h2>Sample of CSS</h2>
<img src="images/css-preview.jpg" alt="">
</section>
<section>
<h2>CSS Selectors</h2>
<p>CSS associates rules with HTML elements.</p>
<img src="images/css-selector.jpg" alt="">
</section>
<section>
<h2>CSS Declarations</h2>
<p>The property indicates what aspect you want to change and is specified with the value.</p>
<img src="images/css-declarations.jpg" alt="">
</section>
<section>
<h2>CSS Works in Boxes</h2>
<img src="images/css-blocks.jpg" alt="">
</section>
<section>
<h2>CSS Box</h2>
<img src="images/css-box.png" alt="">
</section>
<section>
<h2><strong>Practice:</strong> Styling a Web Page</h2>
<h2><a href="http://j.mp/htxcss" target="_blank">http://j.mp/htxcss</a></h2>
</section>
<section>
<img src="images/css-congrats.gif" alt="">
<h2><strong>Congrats</strong> you're so stylish!</h2>
</section>
<section>
<h2><strong>CSS</strong> Summary</h2>
<ul>
<li class="fragment">CSS creates <strong>STYLE</strong> for the web (think Word)</li>
<li class="fragment">CSS is made up of <strong>SELECTORS</strong></li>
<li class="fragment">CSS <em>selectors</em> have <strong>DECLARATIONS</strong></li>
<li class="fragment">CSS <em>declarations</em> have <strong>PROPERTIES</strong> and <strong>VALUES</strong> </li>
<li class="fragment">CSS works in a <strong>BOX</strong></li>
</ul>
</section>
</section>
<!-- Google Chrome Inspector -->
<section>
<section>
<img src="images/sherlock.gif" alt="Sherlock Holmes">
<h1>Inspector</h1>
<p><em>Google Chrome Web Inspector</em></p>
</section>
<section>
<h2>Read and Manipulate the Code on <strong>ANY</strong> Website</h2>
<img src="images/inspector-panel.png" alt="">
</section>
<section>
<img src="images/inspector-dive.gif" alt="">
<h3><strong>Practice:</strong> Let's Dive Right In!</h3>
</section>
<section>
<img src="images/inspector-thumbsup.gif" alt="">
<h2><strong>Congrats</strong> you're a pro!</h2>
</section>
<section>
<h2><strong>Inspector</strong> Summary</h2>
<ul>
<li class="fragment">The inspector works on <strong>ANY</strong> website</li>
<li class="fragment">The inspector <strong>VIEWS</strong> the code</li>
<li class="fragment">The inspector can <strong>MANIPULATE</strong> the code</li>
</ul>
</section>
</section>
<!-- Frameworks -->
<section>
<section>
<img src="images/framework-lego.gif" alt="Infinite loop of legos being built">
<h1>Framework</h1>
<p><em>Building Blocks for the Web</em></p>
</section>
<section>
<h2>Pre-Written Code</h2>
<p>A <strong>FRAMEWORK</strong> is a collection of <em>pre-written code</em> to help you create a project <em>quickly</em>.</p>
<img src="images/framework-samples.jpg" alt="">
</section>
<section>
<h2>What <strong>FEATURES</strong> do most websites have in common?</h2>
<p><em>*This is NOT rhetorical.</em></p>
</section>
<section>
<img src="images/framework-buttons.jpg" alt="">
<h2>Buttons</h2>
</section>
<section>
<img src="images/framework-grid.jpg" alt="">
<h2>Grids</h2>
</section>
<section>
<img src="images/framework-foundation.jpg" alt="">
<a href="http://foundation.zurb.com" target="_blank">http://foundation.zurb.com</a>
</section>
<section>
<h2><strong>Practice:</strong> Let's see what Foundation can offer!</h2>
<a href="http://j.mp/htxframework" target="_blank">http://j.mp/htxframework</a>
</section>
<section>
<img src="images/framework-congrats.gif" alt="">
<h2><strong>Congrats</strong> you're a master builder!</h2>
</section>
<section>
<h2><strong>Framework</strong> Summary</h2>
<ul>
<li class="fragment">A framework is <strong>PRE-WRITTEN CODE</strong></li>
<li class="fragment">A framework help you get <strong>STARTED</strong></li>
<li class="fragment">A framework keeps everything <strong>CONSISTENT</strong></li>
</ul>
</section>
</section>
<!-- Conclusion -->
<section>
<h1>Questions & <strong>Answers</strong></h1>
</section>
<section>
<h1><strong>Thanks!</strong></h1>
<p><em>We Create Developers:</em><br>Learn more at <a href="http://www.makersquare.com/part-time" target="_blank">http://www.makersquare.com/</a></p>
</section>
</div>
</div>
<div class="share-reveal">
<strong class="share-reveal__twitter">
<a href="https://twitter.com/joshmedeski" class="twitter-follow-button" data-show-count="false">Follow @JoshMedeski</a>
<a href="https://twitter.com/MakerSquare" class="twitter-follow-button" data-show-count="false">Follow @MakerSquare</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</strong>
<a href="http://www.makersquare.com/" class="share-reveal__button">Learn more about our program</a>
</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,
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none
// Parallax scrolling
// parallaxBackgroundImage: 'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg',
// parallaxBackgroundSize: '2100px 900px',
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
]
});
</script>
</body>
</html>