Notice Board with Multiple Classes
HTML / CSS
20 pts
Notice Board with Multiple Classes
Build a school notice board from an empty editor:
- A
<style>block with a.cardrule that gives a solid border (for exampleborder: 1px solid gray;) and some padding. - A
.highlightrule withbackground-color: lightyellow; - At least 3 notices, each a
<div>with the classcard. - The most important notice has two classes:
cardandhighlight.
Checklist
- Add at least three notice cards.
- Give the cards a solid border with CSS.
- Highlight one card with a second class.
🔑 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.
