--- id: 62a240c67f3dbb1a1e6d95ee title: Step 23 challengeType: 0 dashedName: step-23 --- # --description-- Give your `#game` a maximum width of `500px` and a maximum height of `400px`. Set the `background-color` to `#ffffff` and the `color` to `#ffffff`. Use margins to center it by setting the top margin to `30px`, bottom margin to `0px`, and the left and right margin to `auto`. Finally, give it `10px` of padding on all four sides. # --hints-- You should have a `#game` selector. ```js const game = new __helpers.CSSHelp(document).getStyle('#game'); assert.exists(game); ``` Your `#game` selector should have a `max-width` of `500px`. ```js const maxWidth = new __helpers.CSSHelp(document).getStyle('#game')?.getPropertyValue('max-width'); assert.equal(maxWidth, '500px'); ``` Your `#game` selector should have a `max-height` of `400px`. ```js const maxHeight = new __helpers.CSSHelp(document).getStyle('#game')?.getPropertyValue('max-height'); assert.equal(maxHeight, '400px'); ``` Your `#game` selector should have a `background-color` of `#ffffff`. ```js const background = new __helpers.CSSHelp(document).getStyle('#game')?.getPropertyValue('background-color'); assert.equal(background, 'rgb(255, 255, 255)'); ``` Your `#game` selector should have a `color` of `#ffffff`. ```js const color = new __helpers.CSSHelp(document).getStyle('#game')?.getPropertyValue('color'); assert.equal(color, 'rgb(255, 255, 255)'); ``` Your `#game` selector should have a `margin-top` set to `30px`. ```js const margin = new __helpers.CSSHelp(document).getStyle('#game')?.getPropertyValue('margin-top'); assert.equal(margin, '30px'); ``` Your `#game` selector should have a `margin-left` set to `auto`. ```js const margin = new __helpers.CSSHelp(document).getStyle('#game')?.getPropertyValue('margin-left'); assert.equal(margin, 'auto'); ``` Your `#game` selector should have a `margin-right` set to `auto`. ```js const margin = new __helpers.CSSHelp(document).getStyle('#game')?.getPropertyValue('margin-right'); assert.equal(margin, 'auto'); ``` Your `#game` selector should have a `margin-bottom` set to `0px`. ```js const margin = new __helpers.CSSHelp(document).getStyle('#game')?.getPropertyValue('margin-bottom'); assert.equal(margin, '0px'); ``` Your `#game` selector should have `10px` of padding on all sides. ```js const padding = new __helpers.CSSHelp(document).getStyle('#game')?.getPropertyValue('padding'); assert.equal(padding, '10px'); ``` # --seed-- ## --seed-contents-- ```html