--- id: 5f3477ae34c1239cafe128be title: Step 14 challengeType: 0 dashedName: step-14 --- # --description-- You now have three type selectors with the exact same styling. You can add the same group of styles to many elements by separating the selectors with commas like this: ```css selector1, selector2 { property: value; } ``` Use a single type selector to center the `h1`, `h2` and `p` elements at the same time. # --hints-- You should use a single type selector for all three elements, `h1, h2, p`. Be sure to use that order. ```js const hasSelector = new __helpers.CSSHelp(document).getStyle('h1, h2, p'); assert(hasSelector); ``` You should only have one selector in your `style` element. ```js const selectors = new __helpers.CSSHelp(document).getCSSRules().filter(x => x.selectorText) assert(selectors.length === 1); ``` # --seed-- ## --seed-contents-- ```html
Est. 2020