Select the Right Elements
HTML / CSS
10 pts
Select the Right Elements
Style the menu of the Keren Café with three kinds of selectors:
- An element selector: every
h2is brown. - A class selector
.price: every price is green. - An id selector
#special: background colour lightyellow andfont-weight: bold.
Checklist
- Make every
h2brown. - Make every price green with a class selector.
- Give
#speciala lightyellow background and bold text.
🔑 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.
