Skip to content

Commit

Permalink
Added link to starter code for Chapter 6
Browse files Browse the repository at this point in the history
  • Loading branch information
gitdagray committed Dec 28, 2021
1 parent 91728b6 commit e2afe2e
Show file tree
Hide file tree
Showing 12 changed files with 219 additions and 2 deletions.
Binary file added 06_lesson/img/caribbean.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 06_lesson/img/html_logo_300x300.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 06_lesson/img/vacation.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 22 additions & 2 deletions 06_lesson/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ <h1>My Goals for the Year</h1>
<section id="html">
<h2>I'm Ready to Learn HTML</h2>
<p>This is my first web page.</p>

<img src="img/html_logo_300x300.png" alt="HTML5 Logo" title="I am learning HTML5" width="300" height="300">
<figure>
<figcaption>An Example of HTML5 code</figcaption>
<p>
<code>&lt;h1&gt;Hello World!&lt;/h1&gt;</code>
</p>
</figure>
<h3>My Daily Schedule</h3>
<p>Let me tell you how:</p>
<ol>
Expand All @@ -50,10 +56,17 @@ <h2>I Am Also Planning a Vacation</h2>
<p>I've been working hard and <em>really need a getaway</em>.</p>
<p>I live in <abbr title="Kansas">KS</abbr> so I want visit a beach.</p>

<h3>Place I'd Like to Visit</h3>
<h3>Places I'd Like to Visit</h3>
<ul>
<li>
<p>I've heard good things about the Caribbean.</p>
<figure>
<img src="img/caribbean.jpg" alt="Caribbean Beach" title="I want to visit a Caribbean beach."
width="400" height="225" loading="lazy">
<figcaption>
Caribbean Beach Getaway
</figcaption>
</figure>
</li>
<li>
<p>I've heard good things about going here:</p>
Expand All @@ -62,6 +75,13 @@ <h3>Place I'd Like to Visit</h3>
Bahia Petempich Puerto Morelos, Mexico<br>
Colonia Morelos, MΓ©xico 77580
</address>
<figure>
<img src="img/vacation.jpg" alt="Cancun Vacation" title="It's 5 o'Clock Somewhere!" width="400"
height="267" loading="lazy">
<figcaption>
A Caribbean Vacation Image
</figcaption>
</figure>
</li>
</ul>
<!-- TODO: Add more places -->
Expand Down
47 changes: 47 additions & 0 deletions 07_lesson/about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="author" content="Dave Gray">
<meta name="description" content="Hi, I'm Dave Gray. This page is about me.">
<title>About Me</title>
<link rel="icon" href="html5.png" type="image/x-icon">
<link rel="stylesheet" href="main.css" type="text/css">
</head>

<body>
<h1>Hi, I'm Dave Gray</h1>

<hr>

<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Accusantium, laborum. Eum iure, ea, corporis odit
excepturi accusamus fugit blanditiis non ipsa, quae asperiores enim esse maiores ipsum illum? Incidunt, ducimus!
</p>

<hr>

<ul>
<li>
Download an <a href="html5.png" download>HTML5 favicon</a>
</li>
<li>
Contact me at <a href="mailto:[email protected]">my email address</a>.
</li>
<li>
Dial <a href="tel:+1234567890">my phone number</a>.
</li>
<li>
Open <a href="https://www.google.com/" target="_blank">Google</a> in a new tab.
</li>
</ul>

<hr>
&lt;&lt;&lt; &copy; <a href="about.html">Dave Gray</a> &gt;&gt;&gt;
<p>
<a href="/">Back to Home</a>
</p>
</body>

</html>
Binary file added 07_lesson/html5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 07_lesson/img/caribbean.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 07_lesson/img/html_logo_300x300.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 07_lesson/img/vacation.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
129 changes: 129 additions & 0 deletions 07_lesson/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="author" content="Dave Gray">
<meta name="description" content="This page contains all the things I am learning how to create as I learn HTML.">
<title>My First Web Page</title>
<link rel="icon" href="html5.png" type="image/x-icon">
<link rel="stylesheet" href="main.css" type="text/css">
</head>

<body>
<header>
<h1>My Goals for the Year</h1>

<nav aria-label="primary-navigation">
<ul>
<li>
<a href="#html">Learning HTML</a>
</li>
<li>
<a href="#vacation">Planning a Vacation</a>
</li>
</ul>
</nav>
</header>

<hr>
<main>
<article id="html">
<h2>I'm Ready to Learn HTML</h2>
<p>This is my first web page.</p>
<section>
<h3>HTML5</h3>
<img src="img/html_logo_300x300.png" alt="HTML5 Logo" title="I am learning HTML5" width="300"
height="300">
<figure>
<figcaption>An Example of HTML5 code</figcaption>
<p>
<code>&lt;h1&gt;Hello World!&lt;/h1&gt;</code>
</p>
</figure>
</section>
<section>
<h3>My Daily Schedule</h3>
<p>Let me tell you how:</p>
<ol>
<li>...I learn more about web dev.</li>
<li>...I plan out my schedule.</li>
<li>...I use resources from <abbr title="Mozilla Developer Network">
<a href="https://developer.mozilla.org/">MDN</a>
</abbr>.</li>
</ol>
<aside>
<details>
<summary>Guess the <mark>number of hours</mark> I code per day</summary>
<p>I start at <time datetime="08:00">8 am</time> and I write code for <time datetime="PT3H">3
hours</time> every morning.</p>
</details>
</aside>
</section>
</article>

<hr>

<article id="vacation">
<h2>I Am Also Planning a Vacation</h2>
<p>I've been working hard and <em>really need a getaway</em>.</p>
<p>I live in <abbr title="Kansas">KS</abbr> so I want visit a beach.</p>

<section>
<h3>Places I'd Like to Visit</h3>
<ul>
<li>
<p>I've heard good things about the Caribbean.</p>
<figure>
<img src="img/caribbean.jpg" alt="Caribbean Beach"
title="I want to visit a Caribbean beach." width="400" height="225" loading="lazy">
<figcaption>
Caribbean Beach Getaway
</figcaption>
</figure>
</li>
<li>
<p>I've heard good things about going here:</p>
<address>
Margaritaville Island Reserve Riviera CancΓΊn<br>
Bahia Petempich Puerto Morelos, Mexico<br>
Colonia Morelos, MΓ©xico 77580
</address>
<figure>
<img src="img/vacation.jpg" alt="Cancun Vacation" title="It's 5 o'Clock Somewhere!"
width="400" height="267" loading="lazy">
<figcaption>
A Caribbean Vacation Image
</figcaption>
</figure>
</li>
</ul>
</section>
<!-- TODO: Add more places -->
<section>
<h3>Places I Want to Avoid</h3>
<dl>
<dt>North Pole</dt>
<dd>I hear this is <strong>cold</strong>!</dd>

<dt>South Pole</dt>
<dd>This is also cold.</dd>

<dt>Mountain Tops</dt>
<dd>These are also cold.</dd>
</dl>
</section>
</article>
</main>
<hr>
<footer>
<p>
&lt;&lt;&lt; &copy; <a href="about.html">Dave Gray</a> &gt;&gt;&gt;
</p>
<p>
<a href="#">Back to Top</a>
</p>
</footer>
</body>

</html>
20 changes: 20 additions & 0 deletions 07_lesson/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
html {
font-size: 22px;
}

body {
background-color: #333;
color: whitesmoke;
}

a {
color: aliceblue;
}

a:visited {
color: lightgray;
}

a:hover, a:active {
color: #eee;
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,5 @@
- πŸ”— [Chapter 3 Starter Code](https://github.com/gitdagray/html_course/tree/main/02_lesson)
- πŸ”— [Chapter 4 Starter Code](https://github.com/gitdagray/html_course/tree/main/03_lesson)
- πŸ”— [Chapter 5 Starter Code](https://github.com/gitdagray/html_course/tree/main/04_lesson)
- πŸ”— [Chapter 6 Starter Code](https://github.com/gitdagray/html_course/tree/main/05_lesson)

1 comment on commit e2afe2e

@Mubin3619
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

table, tr, td, td, caption {
border: 1px solid #eee;
font-family: 'Courier New', Courier, monospace;
border-collapse: collapse;
padding: 0.5rem;
}

Please sign in to comment.