Skip to content

Commit 5800542

Browse files
Added mini-exercise before exercise #2
1 parent 89aa2ca commit 5800542

2 files changed

Lines changed: 19 additions & 10 deletions

File tree

20.6 KB
Loading

index.html

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ <h2>Nesting HTML tags</h2>
307307
</section>
308308

309309
<section class="slide project" data-markdown>
310-
##Adding content
310+
##Adding more HTML & content
311311

312312
All three pages have the same headings, navigation links and footer information. Though the home page header and navigation look different from the other two pages, don't worry about that just yet. Right now we are just concentrating on adding the HTML.
313313

@@ -339,6 +339,16 @@ <h2>Nesting HTML tags</h2>
339339
Navigational elements are commonly created using lists. Since the order of the list items doesn't matter for creating nav items, an unordered list can be used.
340340
</section>
341341

342+
<section class="slide" data-markdown>
343+
##Class exercise: Add a navigation
344+
345+
Let's go back to **index.html** and add an unordered list, before `&lt;header>`, as a navigation menu for the three pages: **Home**, **About**, **Contact**.
346+
347+
It should look like this:
348+
349+
![nav list](framework/img/workshop/nav-list.png)
350+
</section>
351+
342352
<section class="slide" data-markdown>
343353
##Links & Attributes
344354

@@ -434,10 +444,7 @@ <h2>Nesting HTML tags</h2>
434444
<section class="slide">
435445
<h2>Exercise #2 - Adding pages and content (20mins)</h2>
436446

437-
<p>Follow the instructions below to complete the exercise. We are just adding HTML content so don’t worry about how to style the page just yet. If you get stuck, you can take a peek in the <strong>examples</strong> folder: <a href="project/examples/exercise2-home.html">exercise2-home.html</a>, <a href="project/examples/exercise2-about.html">exercise2-about.html</a>, <a href="project/examples/exercise2-contact.html">exercise2-contact.html</a></p>
438-
439-
<p><strong>Protip!</strong> Using keyboard shortcuts is important for speeding up your work flow. Writing code requires a lot of copying, pasting and saving.</p>
440-
447+
<p>We are just adding HTML content so don’t worry about how to style the page just yet. Writing code often requires a lot moving, deleting and adding content. Here are some more shortcuts that will come in handy to speed up your work flow.</p>
441448
<p>
442449
<code>ctrl/cmnd + c</code> to copy <br>
443450
<code>ctrl/cmnd + x</code> to copy and cut <br>
@@ -450,16 +457,16 @@ <h2>Exercise #2 - Adding pages and content (20mins)</h2>
450457
<li>Create an new page (cmnd/ctrl + n) and name it <strong>about.html</strong>
451458
<ul>
452459
<li>Save it in the same folder as <strong>index.html</strong> (project folder)</li>
453-
<li>Be sure to include all the <a href="/#slide11">basic HTML tags</a></li>
454-
<li>Update the <code>title</code> tag content to update the page title</li>
455-
<li>Add the header and nav markup referenced in <a href="index.html#slide22">HTML5 Sectioning Tags</a></li>
456-
<li>Use <strong>relative</strong> links to navigate between pages</li>
460+
<li>Be sure to include all the <a href="/#slide14">basic HTML tags</a></li>
461+
<li>Update the <code>title</code> tag to update the page title</li>
462+
<li>Add the HTML5 header and nav markup referenced in <a href="index.html#slide23">HTML5 Sectioning Tags</a></li>
463+
<li>Add <strong>relative</strong> links to navigate between pages</li>
457464
<li>Add the footer content created in <strong>index.html</strong></li>
458465
</ul>
459466
</li>
460467
<li>Create a new page and name it <strong>contact.html</strong>
461468
<ul>
462-
<li>Follow the same instructions as the About page</li>
469+
<li>Follow the same instructions as the About page (or just copy it and update the page title)</li>
463470
</ul>
464471
</li>
465472
<li>
@@ -479,6 +486,8 @@ <h2>Exercise #2 - Adding pages and content (20mins)</h2>
479486
&lt;/header&gt;
480487
</code></pre>
481488
</ol>
489+
<p>If you get stuck, you can take a peek in the <strong>examples</strong> folder: <a href="project/examples/exercise2-home.html">exercise2-home.html</a>, <a href="project/examples/exercise2-about.html">exercise2-about.html</a>, <a href="project/examples/exercise2-contact.html">exercise2-contact.html</a></p>
490+
482491
<div class="presenter-notes">
483492
<p>Check in with learners after 20mins. If majority of people have not started step 3, give them 5-10 more minutes. If they are still not done after that, let them know they'll have some time in the next exercise to finish up.</p>
484493
</div>

0 commit comments

Comments
 (0)