Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
78 lines (63 loc) · 2.99 KB

File metadata and controls

78 lines (63 loc) · 2.99 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
<!DOCTYPE html>
<html>
<head>
<title>CSS Exercise 2</title>
<style>
ul.nav li{
display: inline-block;
padding-right: 10px;
background-color: red;
color: white;
}
ul.nav a { color: white;}
.color-info { border: 3px solid black; }
#about_blue { background-color: #6495ED;}
#about_yellow { background-color: #FFEBCD;}
#about_blue li {color: blue;}
#about_yellow li {color: orange;}
.important { font-size: 16px; font-weight: bold;}
</style>
</head>
<body>
<ul class='nav'>
<li><a href="#explanation">Home</a></li>
<li><a href="#about_blue">About blue</a></li>
<li><a href="#about_yellow">About yellow</a></li>
</ul>
<div id='page_content'>
<h1>All about colours</h1>
<div id='explanation'>
<p>This is a page about colours. You need to fix it so that:</p>
<ul>
<li>The sections about blue and yellow have 3px solid black borders.</li>
<li>The 'About blue' has a light blue (#6495ED) background.</li>
<li>The 'About yellow' has a light yellow (#FFEBCD) background.</li>
<li>The list of points in the 'About blue' section should be in blue text (but the paragraph text shouldn't be).</li>
<li>The list of points in the 'About yellow' section should be in orange text (but the paragraph text shouldn't be).</li>
<li>The final item in both colour section lists is the most important. It should be in font size 16px, with font weight bold.</li>
<li>The navigation at the top should have a red background with white text.</li>
</ul>
</div>
<div id='about_blue' class='color-info'>
<h2>About blue</h2>
<p>This section is all about the colour blue. This text should be black.</p>
<ul>
<li>This is an unordered list.</li>
<li>It contains some stuff about the colour blue.</li>
<li>The text should be blue.</li>
<li class='important'>The biggest blue animal in the world is the blue whale.</li>
</ul>
</div>
<br>
<div id='about_yellow' class='color-info'>
<h2>About yellow</h2>
<p>The section is all about the colour yellow. This text should be black.</p>
<ul>
<li>This is an unordered list.</li>
<li>It contains some stuff about the colour yellow.</li>
<li>The text should be orange.</li>
<li class='important'>The tastiest yellow fruit is the banana - much nicer than lemons.</li>
</ul>
</div>
</body>
</html>
Morty Proxy This is a proxified and sanitized view of the page, visit original site.