Skip to content

Commit 7ae83e4

Browse files
committed
Final revisions
1 parent 45f4697 commit 7ae83e4

File tree

1 file changed

+26
-19
lines changed

1 file changed

+26
-19
lines changed

index.html

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ <h2>Course Outline</h2>
9494
<h3 style="margin-top: 1em;">Morning</h3>
9595
<ul>
9696
<li>What is a website?</li>
97-
<li>What do we use to make one?</li>
97+
<li>What do we need to make one?</li>
9898
<li>Introducing HTML</li>
9999
</ul>
100100
<h3 style="margin-top: 1em;">Afternoon</h3>
@@ -160,7 +160,7 @@ <h2>A basic webpage</h2>
160160
</p>
161161
<table width="100%">
162162
<tr>
163-
<td width="33%" class="centered"><strong>HTML</strong> (Hypertext Markup Language) <br>
163+
<td width="33%" class="centered"><strong>HTML</strong> (HyperText Markup Language) <br>
164164
is the markup language.</td>
165165
<td width="33%" class="centered"><strong>CSS</strong> (Cascading Style Sheets) <br>
166166
is the style sheet language.</td>
@@ -339,10 +339,10 @@ <h2>HTML tags</h2>
339339
<br />
340340
<p class="sidenote" style="margin-bottom: 0px;">For example:</p>
341341
<ul class="sidenote">
342-
<li><code>&lt;title&gt;</code> is nested between opening and closing <code>&lt;head&gt;</code> tags so <code>&lt;head&gt;</code> is the parent node and <code>&lt;title&gt;</code> is the child node.</li>
342+
<li><code>&lt;title&gt;</code> is nested between opening and closing <code>&lt;head&gt;</code> tags, so <code>&lt;head&gt;</code> is the parent node and <code>&lt;title&gt;</code> is the child node.</li>
343343
<li>Going further, <code>&lt;head&gt;</code> is also (at the same time) a child node of <code>&lt;html&gt;</code>.</li>
344-
<li>While <code>&lt;html&gt;</code> is the always the &#8220;root&#8221; node and has <strong>no</strong> parent nodes.</li>
345-
<li>Notice too that <code>&lt;head&gt;</code> and <code>&lt;body&gt;</code> are on the same level. They are both child nodes of <code>&lt;html&gt;</code>.</li>
344+
<li><code>&lt;html&gt;</code> is the always the &#8220;root&#8221; node and has <strong>no</strong> parent nodes.</li>
345+
<li>Notice that <code>&lt;head&gt;</code> and <code>&lt;body&gt;</code> are on the same level. They are both child nodes of <code>&lt;html&gt;</code>.</li>
346346
</ul>
347347
<pre style="width: 45%; float: left;">&lt;!DOCTYPE html&gt;
348348
&lt;html&gt;
@@ -376,7 +376,7 @@ <h2>HTML in a web browser</h2>
376376
<!-- SLIDE: HTML -->
377377
<article class='slide slide-list'>
378378
<h2>HTML in a web browser</h2>
379-
<p>But remember: HTML tags are like the beams of a house &#8211; they denote structure, not content.) </p>
379+
<p>But remember: HTML tags are like the beams of a house &#8211; they denote structure, not content.</p>
380380
<p>So if I view <a href="exercises/barebones.html" target="_blank"><code>barebones.html</code></a> in a web browser, I don't see anything interesting yet...</p>
381381
<div class="reminders single-line"><p>If Chrome is not your default web browser, <strong>right-click</strong> and select the &#8220;<strong>open with...</strong>&#8221; option.</p></div>
382382
</article>
@@ -424,13 +424,13 @@ <h2>HTML content</h2>
424424
<!-- SLIDE: HTML -->
425425
<article class='slide slide-list'>
426426
<h2><code>&lt;head&gt;</code> vs <code>&lt;body&gt;</code></h2>
427-
<p>Using a copy of <code>barebones.html</code>, I'm going to edit it to answer the below questions and prepare you for the following exercise you'll do on your own time.</p>
427+
<p>I&#8217;m going to edit a copy of <code>barebones.html</code> to answer the questions below and to prepare you for the following exercise you&#8217;ll do on your own time.</p>
428428
<ul class="spacey_list">
429429
<li>
430430
What happens when I change the content in the <code>&lt;title&gt;</code> tag?
431431
</li>
432432
<li>
433-
What's the difference between putting a tag in-between the <code>&lt;head&gt;</code> tag versus the <code>&lt;body&gt;</code> tag?
433+
What&#8217;s the difference between putting a tag in-between the <code>&lt;head&gt;</code> tag versus the <code>&lt;body&gt;</code> tag?
434434
</li>
435435
</ul>
436436
</article>
@@ -457,17 +457,20 @@ <h2>Exercise #1 &#8211; Simple HTML tags</h2>
457457
<div class="cheatsheet">
458458
<div>
459459
<h3>Hierarchy</h3>
460+
<p>
460461
<code>&lt;hl&gt;</code>, <code>&lt;h2&gt;</code>, <code>&lt;h3&gt;</code>, <code>&lt;h4&gt;</code>, <code>&lt;h5&gt;</code> and <code>&lt;h6&gt;</code> &#8211; Heading levels 1 to 6<br />
461462
<code>&lt;p&gt;</code> &#8211; Paragraph<br />
463+
</p>
462464
</div>
463465
<div>
464466
<h3>Text Formatting</h3>
465-
<code>&lt;b&gt;</code> or <code>&lt;strong&gt;</code> &#8211; Bold<br />
466-
<code>&lt;i&gt;</code> or <code>&lt;em&gt;</code> &#8211; Italics or emphasis<br />
467+
<p><code>&lt;b&gt;</code> or <code>&lt;strong&gt;</code> &#8211; Bold<br />
468+
<code>&lt;i&gt;</code> or <code>&lt;em&gt;</code> &#8211; Italics or emphasis<br /></p>
467469
</div>
468470
<div>
469471
<h3>Section Formatting</h3>
470-
<code>&lt;blockquote&gt;</code> &#8211; A block quote for extended quotations<br />
472+
<p>
473+
<code>&lt;blockquote&gt;</code> &#8211; A block quote for extended quotations<br /></p>
471474
</div>
472475
</div>
473476
<br clear="all" />
@@ -486,7 +489,7 @@ <h1>Going deeper</h1>
486489
<article class='slide slide-list'>
487490
<h2>Empty Tags</h2>
488491
<p><span class="keyword">Empty tags</span> don&#8217;t format content &#8211; instead they are used to render or embed objects in our page.</p>
489-
<p>These tags <strong>do not</strong> come in pairs of opening and closing tags like <code>h1</code> or <code>p</code> tags; instead, there is only an opening tag that &#8220;self-closes&#8221; with a back slash (<code>/</code>) immediately before the left angled bracket (<code>&gt;</code>).</p>
492+
<p>These tags <strong>do not</strong> come in pairs of opening and closing tags like <code>h1</code> or <code>p</code> tags; instead, there is only an opening tag that &#8220;self-closes&#8221; with a back slash (<code>/</code>) immediately before the right-angled bracket (<code>&gt;</code>).</p>
490493
<p class="centered" style="font-size: 3em;"><code>&lt;tag /&gt;</code></p>
491494
</article>
492495

@@ -543,7 +546,11 @@ <h2>Working with images</h2>
543546
<ul>
544547
<li><code>src</code> is the <em>attribute</em></li>
545548
<li><code>http://goo.gl/7eSU5</code> is the <em>value</em> of that attribute<br />
549+
<<<<<<< HEAD
546550
<span class="sidenote">Values are typically surrounded by <em>double quotes</em> since occasionally values may contain spaces.</span></li>
551+
=======
552+
<span class="sidenote">Values are typically surrounded by <em>double quotes</em> since values may contain spaces.</span></li>
553+
>>>>>>> Final revisions
547554
</ul>
548555
<p>With an <code>img</code> tag, the value of the <code>src</code> attribute tells the browser what the <em>source</em> of our image is.</p>
549556
</article>
@@ -659,7 +666,7 @@ <h2>Working with images <span style="font-size: 22px;">(Group exercise &#8211; P
659666
<!-- SLIDE: HTML -->
660667
<article class='slide slide-list'>
661668
<h2>Working with images <span style="font-size: 22px;">(Group exercise &#8211; Part 4)</span></h2>
662-
<p>It&#8217;s best practice to organize your images into their own folder to keep your website's file structure tidy.</p>
669+
<p>It&#8217;s best practice to organize your images into their own folder to keep your website&#8217;s file structure tidy.</p>
663670
<p>Let&#8217;s <strong>move all of our images into the <code>images</code> folder</strong> of <code>2_WORKING_WITH_IMAGES</code>.</p>
664671
<p>Uh oh! Now our image will be broken in <code>index.html</code> since the image is no longer in the same folder. Let&#8217;s fix that...</p>
665672
</article>
@@ -688,12 +695,12 @@ <h2>Working with images <span style="font-size: 22px;">(Group exercise &#8211; P
688695
<article class='slide slide-list'>
689696
<h2>Links</h2>
690697
<p>The <code>&lt;a&gt;</code> tag &#8211; called an <em>anchor</em> tag &#8211; is used to create a link.</p>
691-
<p><code>&lt;a&gt;</code> tags come in pairs and the content between the opening and closing tags is what is displayed as the link text (typically underlined).</p>
698+
<p><code>&lt;a&gt;</code> tags come in pairs, and the content between the opening and closing tags is what is displayed as the link text (typically underlined).</p>
692699
<br />
693700
<pre class="prettyprint">Visit &lt;a&gt;Ladies Learning Code&lt;/a&gt;.</pre>
694701
<p>Visit <a>Ladies Learning Code</a>.</p>
695702
<br />
696-
<p class="sidenote">But wait! This link doesn't take me anywhere!</p>
703+
<p>But wait! This link doesn't take me anywhere!</p>
697704
</article>
698705

699706
<!-- SLIDE: HTML -->
@@ -736,7 +743,7 @@ <h2>Getting ready for Exercise #3</h2>
736743
<ol>
737744
<li>What&#8217;s the <strong>very first line</strong> we need to type?</li>
738745
<li>What <strong>three</strong> HTML tags should every website have?</li>
739-
<li>What HTML tag do I need to update the browser tab with a descriptive tab name? And where does it go?</li>
746+
<li>What HTML tag do I need to change in order to update the browser tab with a descriptive tab name? And where does it go?</li>
740747
</ol>
741748
<p>Here is the start of your top navigation menu.<br /><span class="sidenote">(Don't worry, <code>&lt;nav&gt;</code> is nothing too special but we'll use it later in CSS.)</span></p>
742749
<pre>
@@ -754,14 +761,14 @@ <h2>Exercise #3 (now until lunch)</h2>
754761
<p>On your own:</p>
755762
<ol class="spacey_list">
756763
<li>There will be two more pages: <code>about.html</code> and <code>contact.html</code>. Use the <code>&lt;a&gt;</code> tag with an <code>href</code> attribute to link all your pages together.</li>
757-
<li>Based on <code>index.html</code>, create those 2 new files for About and Contact in the same <code>website</code> folder as <code>index.html</code>. Name these files <code>about.html</code> and <code>contact.html</code>.</li>
764+
<li>Create two new files for About and Contact by duplicating <code>index.html</code> within the <code>website</code> folder. Name these files <code>about.html</code> and <code>contact.html</code>.</li>
758765
<li>Make sure that all your webpages have a descriptive and unique <code>&lt;title&gt;</code>.</li>
759766
<li>Confirm that you can click between all the pages using the navigation links. Fix them if needed.</li>
760767
<li>Update <code>about.html</code> with a picture and bio.<br />
761768
<span class="sidenote">(You can even try adding a YouTube video based on the notes on the next slide.)</span></li>
762769
<li>Update <code>contact.html</code> with contact info.<br />
763770
<span class="sidenote">(You can even try adding a Google Map.)</span></li>
764-
<li><strong>Don't</strong> update <code>index.html</code> any more!<br/>
771+
<li><strong>Don&#8217;t</strong> update <code>index.html</code> any more!<br/>
765772
<span class="sidenote">We'll get to that <strong>after</strong> lunch.</span></li>
766773
</ol>
767774
</article>
@@ -781,7 +788,7 @@ <h2>Bonus: Add video to your webpage</h2>
781788
<h2>HTML reference</h2>
782789
<ul class="spacey_list">
783790
<li>Download a <a href="http://woorkup.com/2009/12/16/html5-visual-cheat-sheet-reloaded/" target="_blank">cheatsheet of HTML tags</a>. (There is a copy in the <code>cheatsheets</code> folder.)</li>
784-
<li>Try looking up individual tags using the HTML sections of <a href="https://developer.mozilla.org/en-US/docs/HTML/Element" target="_blank">Mozilla's Developer Network</a> or the <a href="http://www.w3.org/community/webed/wiki/HTML/Elements" target="_blank">W3C</a> for more details about attributes and tag usage.</li>
791+
<li>Try looking up individual tags using the HTML sections of <a href="https://developer.mozilla.org/en-US/docs/HTML/Element" target="_blank">Mozilla&#8217;s Developer Network</a> or the <a href="http://www.w3.org/community/webed/wiki/HTML/Elements" target="_blank">W3C</a> for more details on tag usage and attributes.</li>
785792
<li>For further exploration, use the <a href="http://hackasaurus.org/en-US/goggles/install/" target="_blank">Hackasaurus X-Ray Goggles</a> to look at any webpage.</li>
786793
<li>And don&#8217;t forget the &#8220;view source&#8221; option of your web browser!</li>
787794
</ul>

0 commit comments

Comments
 (0)