--- id: 60fad8e6148f310bba7890b1 title: Step 38 challengeType: 0 dashedName: step-38 --- # --description-- Center the `h1` and `p` elements by giving them a `margin` of `1em auto`. Then, center align the text as well. # --hints-- You should use a comma-separated element selector to style the `h1` and `p` elements. ```js assert.exists(new __helpers.CSSHelp(document).getStyle('h1, p')); ``` You should use a `margin` of `1em auto` to center the `h1` and `p` elements. ```js assert.equal(new __helpers.CSSHelp(document).getStyle('h1, p')?.margin, '1em auto'); ``` You should use a `text-align` of `center` to center the `h1` and `p` text. ```js assert.equal(new __helpers.CSSHelp(document).getStyle('h1, p')?.textAlign, 'center'); ``` # --seed-- ## --seed-contents-- ```html
Please fill out this form with the required information
``` ```css body { width: 100%; height: 100vh; margin: 0; background-color: #1b1b32; color: #f5f6f7; font-family: Tahoma; font-size: 16px; } --fcc-editable-region-- --fcc-editable-region-- label { display: block; margin: 0.5rem 0; } ```