Aim at the Right Elements
HTML / CSS
10 pts
Aim at the Right Elements
Style the Chess Club page without changing the HTML. In the <style> element add:
- Links inside the nav: colour navy (use a descendant selector).
- The paragraph directly after the
h2:font-weight: bold(use+). - Links whose
hrefends with.pdf: colour crimson (use an attribute selector).
Checklist
- Make the nav links navy.
- Make only the paragraph right after the heading bold.
- Make the PDF link crimson with an attribute selector.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
