Skip to content

Commit acc9243

Browse files
Merge pull request #355 from Suvansarkar/main
03-grouping-selectors: Added the additional question to include "bold" property to match the image
2 parents c56ddf6 + 66572ee commit acc9243

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

foundations/03-grouping-selectors/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Instead of having a single element with two different rules applied, though, you
66

77
This will help you further practice adding classes and using class selectors, so be sure you add the class attribute in the HTML file. For the remainder of these exercises, the format of any colors is entirely up to you; we trust you'll practice using the different values! The properties you need to add to each element are:
88

9-
* **The first element**: a black background and white text
9+
* **The first element**: a black background, white text color, and a bold font weight
1010
* **The second element**: a yellow background
1111
* **Both elements**: a font size of 28px and a list of fonts containing `Helvetica` and `Times New Roman`, with `sans-serif` as a fallback
1212

foundations/03-grouping-selectors/solution/solution.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
.inverted {
99
background-color: black;
1010
color: white;
11+
font-weight: bold;
1112
}
1213

1314
.fancy {

0 commit comments

Comments
 (0)