forked from girldevelopit/gdi-featured-html-css-intro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
homework.html
105 lines (96 loc) · 5.67 KB
/
homework.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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Intro to HTML Homework</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/homework.css">
<!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]-->
</head>
<body>
<a href="#main-content" id="skipnav">Skip to main content</a>
<header>
<div class="container">
<h1>Intro to HTML Homework</h1>
</div>
</header>
<div class="container main">
<nav class="sidebar span3">
<ul>
<li><a href="#class1">Class 1</a></li>
<li><a href="#class2">Class 2</a></li>
<li><a href="#class3">Class 3</a></li>
</ul>
</nav>
<article id="main-content" tabindex="-1" class="span9">
<section>
<p>Welcome! These are homework exercises to accompany the <a href="index.html">Intro to HTML Curriculum</a></p>
</section>
<section>
<h2 id="class1">Class 1</h2>
<p>For this week's homework assignment, use your newly aquired skills to create a special fan page for your favorite animal or celebrity.</p>
<p><strong>Here is what I would like to see at minimum on each lovely page:</strong></p>
<ol>
<li>A <em>heading</em> declaring your favorite animal or celebrity.</li>
<li>A couple <em>paragraphs</em> describing your favorite creature. Remember to use <em>emphasis</em> on key words! </li>
<li>A <em>list</em> of your favorite things about this animal or celebrity. </li>
<li>An <em>image</em> of said creature. The image should link back to the source (where you found it). This link should be clickable, but the image doesn't need to be clickable. </li>
<li>A <em>footer</em> at the bottom of the page declaring your copyright on such a wonderful write-up, and make sure you use the copyright <em>symbol!</em> </li>
<li>Your page should validate in this at this link: <a href="http://validator.w3.org/#validate_by_input" title="W3 Validator" target="_blank">W3 Validator</a>.</li>
</ol>
<p>You can always check the <a href="class1.html">Class 1 slides</a> for help.</p>
</section>
<section>
<h2 id="class2">Class 2</h2>
<p>For this week's homework assignment, we will style our homework1.html file with a new homework2.css file.</p>
<p><strong>Here is what I would like to see at minimum on each lovely page:</strong></p>
<ol>
<li>Create a style sheet and link to it from your HTML</li>
<li>I like borders on images, add borders to all images you have. (Hint: border properties look like this 'border: 1px solid black;'.) Experiment!</li>
<li>Your Headings should be in Georgia font.</li>
<li>Your paragraphs should be in Helvetica.</li>
<li>Footers are probably meant to be centered.</li>
<li>Extra points for finding a nice background image.
<br><em>Hint: you're going to want to use the url() function to set up a background. If your text becomes hard to read, extra EXTRA points for setting a background color on your text-based elements.</em></li>
<li>Center those images using CSS!</li>
<li>Try to make your borders have rounded corners. Google a bit. CSS3!</li>
<li>Your page should still validate in this at this link: <a href="http://validator.w3.org/#validate_by_input" title="W3 Validator" target="_blank">W3 Validator</a>.</li>
</ol>
<p>You can always check the <a href="class2.html">Class 2 slides</a> for help.</p>
</section>
<section>
<h2 id="class3">Class 3</h2>
<p>For this week's homework, we are going to use advanced CSS to style our homework1.html. Save your homework2.css file as homework3.css and have at it!</p>
<p><strong>Here are this week's homework activities:</strong></p>
<ol>
<li>Create several divs of various widths, heights, and colors. Use margin to push them around the page.</li>
<li>Make some of the <div>'s into links (anchors). Then, make the background color of the div change on mouse over.</li>
<li>Try to position some of the <div>'s relative-ly in a vertical line down the middle of the page.</li>
<li>Create a class that you can use with <span> tags to make certain text twice the default size.</li>
<li>Extra credit: Use images as links and change them on mouseover. This one is challenging BUT VERY FUN! Try searching fro "Turn links into images CSS".</li>
</ol>
<p>You can always check the <a href="class3.html">Class 3 slides</a> for help.</p>
</section>
</article>
<aside class="span12 break clear">
<h2>References</h2>
<ul>
<li><a href="index.html" target="_blank">Class slides</a></li>
<li><a href="https://www.khanacademy.org/computing/computer-programming/html-css" target="_blank">Khan Academy - Intro to HTML/CSS</a></li>
<li><a href="https://www.codecademy.com/learn/web" target="_blank">Code Academy - HTML & CSS</a></li>
</ul>
</aside>
</div>
<footer>
<div class="container">
<p>Homework ~ Intro to HTML/CSS ~ Girl Develop It
<a rel="license" href="http://creativecommons.org/licenses/by-nc/3.0/deed.en_US"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc/3.0/80x15.png" /></a></p>
</div>
</footer>
</body>
</html>