Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating example for review before updating tutorial to match #405

Open
wants to merge 3 commits into
base: gh-pages
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
126 changes: 79 additions & 47 deletions html/lesson1/example.html
Original file line number Diff line number Diff line change
@@ -1,55 +1,87 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<title>I love owls</title>
</head>
<body>
<div><img src="images/logo.png" alt="codebar.io"/></div>
<h1>Owls...</h1>
<h2>Why do I like owls so much?</h2>
<ul>
<li><img src="images/img1.jpg" alt="adorable"/></li>
<li><img src="images/img2.jpg" alt="lovely"/></li>
<li><img src="images/img3.jpg" alt="cuddly"/></li>
</ul>
<ol>
<li><b>they are adorable</b></li>
<li><b>and lovely</b></li>
<li><b>and cuddly</b></li>
</ol>
<div><img src="images/img4.jpg" alt="cute owl"/></div>
<div><img src="images/img5.jpg" alt="another cute owl"/></div>
<a href="https://www.youtube.com/watch?v=gBjnfgnwXic">Watch this video here</a>
<h4>
<i>&#34;A wise old owl sat on an oak; The more he saw the less he spoke; <br>
The less he spoke the more he heard; Why aren&#39;t we like that wise old bird?&#34;
</i>
</h4>
<p><small>- nursery rhyme</small></p>
<div>
<h3>Owls:</h3>
<p>
Most birds of prey sport eyes on the sides of their heads,<br>
but the stereoscopic nature of <br>
the owl's forward-facing <strong>eyes permits the greater <br>
sense of depth perception </strong>necessary for low-light hunting. <br>
<br>
<a href="https://en.wikipedia.org/wiki/Owl">More information about owls...</a>
<header>
<img src="images/logo.png" alt="codebar.io">
<h1>Owls...</h1>
<p>They're a hoot!</p>
<nav>
<ul>
<li><a href="/">Home</a></li>
<li><a href="#facts">Facts</a></li>
<li><a href="#links">Links</a></li>
</ul>
</nav>
</header>
<main>
<h2>Did you know?</h2>
<p>Owls are birds from the order Strigiformes, which includes about 200 species of mostly solitary and nocturnal birds of prey typified by an upright stance, a large, broad head, binocular vision, binaural hearing, sharp talons, and feathers adapted for silent flight. Exceptions include the diurnal northern hawk-owl and the gregarious burrowing owl.</p>
<img src="images/img1.jpg" alt="an owl chick with big eyes"/>
<img src="images/img2.jpg" alt="a small owl with it's eyes closed being stroked on the head"/>
<img src="images/img3.jpg" alt="a small owl on a branch"/>
<h2>My favourite owl species</h2>
<ol>
<li>Snowy owl</li>
<li>Barn owl</li>
<li>Tawny owl</li>
</ol>
<a href="https://www.youtube.com/watch?v=gBjnfgnwXic">Watch this video here</a>
<h2>A Poem</h2>
<p>A wise old owl sat on an oak;<br>
The more he saw the less he spoke;<br>
The less he spoke the more he heard;<br>
Why aren't we like that wise old bird?
</p>
</div>
<div>
<img src="images/img6.jpg" alt="two owls"/>
</div>
<ul>
<li>
<a href="mailto:social@codebar.io?subject=I love owls :: codebar">Email us</a>
</li>
<li>
<a href="mailto:?subject=I love owls :: codebar">Email a friend</a>
</li>
<li>
<a href="https://twitter.com/codebar">Twitter</a>
</li>
</ul>
<section id="facts">
<h2>Owl Facts!</h2>
<article>
<h3>Teeny Tiny!</h3>
<p>The Elf Owl is the world's smallest owl. They are about 5-6 inches tall. <i>Awwwwwww!</i></p>
<figure>
<img src="https://upload.wikimedia.org/wikipedia/commons/d/d3/Elf_owl_puffed.jpg" alt="Elf Owl">
<figcaption>An Elf Owl</figcaption>
</figure>
<a href="https://en.wikipedia.org/wiki/Elf_owl" title="Elf Owls on Wikipedia">Read more about Elf Owls</a>
</article>
<article>
<h3>I spy</h3>
<p>The Northern Hawk Owl can spot a vole up to <em>half a mile</em> away.</p>
<figure>
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/0e/Northern_Hawk_Owl%2C_Cheshire_Game_and_Country_Fair_2014_1.jpg/400px-Northern_Hawk_Owl%2C_Cheshire_Game_and_Country_Fair_2014_1.jpg" alt="Northern Hawk Owl">
<figcaption>A Northern Hawk Owl</figcaption>
</figure>
<a href="https://en.wikipedia.org/wiki/Northern_hawk-owl" title="Northern Hawk Owl on Wikipedia">Read more about Northern Hawk Owls</a>
</article>
<article>
<h3>Well I didn't vote for him!</h3>
<p>A group of owls is called a <b>parliament</b>. This originates from C.S. Lewis’ description of a meeting of owls in The Chronicles of Narnia.</p>
<figure>
<img src="images/parliament.jpg" alt="A frowning owl">
<figcaption>A stern looking owl</figcaption>
</figure>
<a href="http://lenichoir.org/2013/04/a-murder-of-crows-a-parliament-of-owls/" title="Le Nichoir - Canada's wild birds">Read more about naming groups of brids</a>
</article>
</section>
</main>
<aside id="links">
<h2>Useful Links</h2>
<ul>
<li>
<a href="mailto:social@codebar.io?subject=I love owls :: codebar">Email us</a>
</li>
<li>
<a href="mailto:?subject=I love owls :: codebar">Email a friend</a>
</li>
<li>
<a href="https://twitter.com/codebar">Tweet us about Owls on Twitter</a>
</li>
</ul>
</aside>
<footer>
<p>This website made by <a href="www.example.com" title="me on twitter">me</a>!</p>
</footer>
</body>
</html>
Binary file added html/lesson1/images/parliament.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.