Skip to content

Commit 76078a8

Browse files
committed
Added ex2 solution.
1 parent e40661e commit 76078a8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

exercise2.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ <h1>All about colours</h1>
2323
<div id='explanation'>
2424
<p>This is a page about colours. You need to fix it so that:</p>
2525
<ul>
26-
<li>The sections about blue and yellow have 3pm solid black borders.</li>
27-
<li>The 'About blue' has a light blue background.</li>
28-
<li>The 'About yellow' has a light yellow background.</li>
26+
<li>The sections about blue and yellow have 3px solid black borders.</li>
27+
<li>The 'About blue' has a light blue (#6495ED) background.</li>
28+
<li>The 'About yellow' has a light yellow (#FFEBCD) background.</li>
2929
<li>The list of points in the 'About blue' section should be in blue text (but the paragraph text shouldn't be).</li>
3030
<li>The list of points in the 'About yellow' section should be in orange text (but the paragraph text shouldn't be).</li>
3131
<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>
@@ -49,7 +49,7 @@ <h2>About blue</h2>
4949
</div>
5050

5151
<div id='about_yellow' class='color-info'>
52-
<h2>About blue</h2>
52+
<h2>About yellow</h2>
5353

5454
<p>The section is all about the colour yellow. This text should be black.</p>
5555

exercise2_solution.png

68.1 KB
Loading

0 commit comments

Comments
 (0)