Skip to content

Commit 1e40074

Browse files
committed
Clean up formatting in exercises
1 parent 40a2ee4 commit 1e40074

18 files changed

+557
-540
lines changed

1 - Structure/part1.html

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<title>
5-
My Website
6-
</title>
7-
</head>
8-
<body>
9-
Hello, World!
10-
</body>
11-
</html>
3+
<head>
4+
<title>
5+
My Website
6+
</title>
7+
</head>
8+
<body>
9+
Hello, World!
10+
</body>
11+
</html>

1 - Structure/part2.html

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
<!doctype html>
2-
<html>
3-
<head>
4-
<title>
5-
My Website
6-
</title>
7-
</head>
8-
<body>
9-
<h1>Hello, world!</h1>
10-
<p>This is a paragraph of text, and it's inside a p tag.</p>
11-
<p>This is another block of text. Inside another p tag. Mind blowing.</p>
12-
<ul>
13-
<li>This is a list item in an unordered list.</li>
14-
<li>This is another list item.</li>
15-
<li>And yet again, this is a list item.</li>
16-
</ul>
17-
</body>
18-
</html>
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>
5+
My Website
6+
</title>
7+
</head>
8+
<body>
9+
<h1>Hello, world!</h1>
10+
<p>This is a paragraph of text, and it's inside a p tag.</p>
11+
<p>This is another block of text. Inside another p tag. Mind blowing.</p>
12+
<ul>
13+
<li>This is a list item in an unordered list.</li>
14+
<li>This is another list item.</li>
15+
<li>And yet again, this is a list item.</li>
16+
</ul>
17+
</body>
18+
</html>

2 - Tags/page1.html

+16-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
<!doctype html>
2-
<html>
3-
<head>
4-
<title>
5-
My Website
6-
</title>
7-
</head>
8-
<body>
9-
<h1>This is Page 1!</h1>
10-
11-
<p>We're going to play so much on this page. It will be so fun. You have no idea. HTML is a party.</p>
12-
</body>
13-
</html>
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>
5+
My Website
6+
</title>
7+
</head>
8+
<body>
9+
<h1>This is Page 1!</h1>
10+
11+
<p>
12+
We're going to play so much on this page. It will be so fun. You have no
13+
idea. HTML is a party.
14+
</p>
15+
</body>
16+
</html>

2 - Tags/page2.html

+16-17
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
<!doctype html>
2-
<html>
3-
<head>
4-
<title>
5-
My Website
6-
</title>
7-
</head>
8-
<body>
9-
<h1>This is Page 2!</h1>
10-
11-
<img src="http://i.imgur.com/XWG0O.gif"/>
12-
13-
<h2>Hey sexy.</h2>
14-
<p>You did it. <a href="page1.html">Click here to go back to Page 1.</a></p>
15-
16-
</body>
17-
</html>
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>
5+
My Website
6+
</title>
7+
</head>
8+
<body>
9+
<h1>This is Page 2!</h1>
10+
11+
<img src="http://i.imgur.com/XWG0O.gif" />
12+
13+
<h2>Hey sexy.</h2>
14+
<p>You did it. <a href="page1.html">Click here to go back to Page 1.</a></p>
15+
</body>
16+
</html>

2 - Tags/tables.html

+22-23
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<title> My Website </title>
5-
</head>
6-
<body>
7-
<h1>Check out that table.</h1>
3+
<head>
4+
<title>My Website</title>
5+
</head>
6+
<body>
7+
<h1>Check out that table.</h1>
88

9-
<table>
10-
<tr>
11-
<th>First Header</th>
12-
<th>Second Header</th>
13-
</tr>
14-
<tr>
15-
<td>First Row, First Cell</td>
16-
<td>First Row, Second Cell</td>
17-
</tr>
18-
<tr>
19-
<td>Second Row, First Cell</td>
20-
<td>Second Row, Second Cell</td>
21-
</tr>
22-
</table>
23-
24-
</body>
25-
</html>
9+
<table>
10+
<tr>
11+
<th>First Header</th>
12+
<th>Second Header</th>
13+
</tr>
14+
<tr>
15+
<td>First Row, First Cell</td>
16+
<td>First Row, Second Cell</td>
17+
</tr>
18+
<tr>
19+
<td>Second Row, First Cell</td>
20+
<td>Second Row, Second Cell</td>
21+
</tr>
22+
</table>
23+
</body>
24+
</html>

3 - Styles/style1.html

+14-15
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
<!doctype html>
2-
<html>
3-
<head>
4-
<title>
5-
My Website
6-
</title>
7-
</head>
8-
<body>
9-
<h1>How To Be Attractive</h1>
10-
<h2>An overview by me.</h2>
11-
<h3>For you.</h3>
12-
<h4>Because I care.</h4>
13-
14-
</body>
15-
</html>
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>
5+
My Website
6+
</title>
7+
</head>
8+
<body>
9+
<h1>How To Be Attractive</h1>
10+
<h2>An overview by me.</h2>
11+
<h3>For you.</h3>
12+
<h4>Because I care.</h4>
13+
</body>
14+
</html>

3 - Styles/style2.html

+35-24
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,35 @@
1-
<!doctype html>
2-
<html>
3-
<head>
4-
<title>
5-
My Website
6-
</title>
7-
</head>
8-
<body>
9-
<h1>How To Be Attractive</h1>
10-
11-
<p>All it takes is makeup and cool clothes, and you're most of the way there.</p>
12-
13-
<p>Let's talk numbers. What are the steps to be more good looking?</p>
14-
15-
<ol>
16-
<li>Buy makeup and trendy clothes</li>
17-
<li>Make a viral YouTube video shaming companies for telling us this is how to be attractive</li>
18-
<li>Pay attention to the comments, someone on there will probably call you hot</li>
19-
<li>Relish in the joys of the internet</li>
20-
</ol>
21-
22-
<img src="http://i.imgur.com/Asq9r.gif" alt="I'm just so happy that you know CSS now." />
23-
</body>
24-
</html>
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>
5+
My Website
6+
</title>
7+
</head>
8+
<body>
9+
<h1>How To Be Attractive</h1>
10+
11+
<p>
12+
All it takes is makeup and cool clothes, and you're most of the way there.
13+
</p>
14+
15+
<p>Let's talk numbers. What are the steps to be more good looking?</p>
16+
17+
<ol>
18+
<li>Buy makeup and trendy clothes</li>
19+
<li>
20+
Make a viral YouTube video shaming companies for telling us this is how
21+
to be attractive
22+
</li>
23+
<li>
24+
Pay attention to the comments, someone on there will probably call you
25+
hot
26+
</li>
27+
<li>Relish in the joys of the internet</li>
28+
</ol>
29+
30+
<img
31+
src="http://i.imgur.com/Asq9r.gif"
32+
alt="I'm just so happy that you know CSS now."
33+
/>
34+
</body>
35+
</html>

0 commit comments

Comments
 (0)