--- id: 5f45a5a7c49a8251f0bdb527 title: Passo 74 challengeType: 0 dashedName: step-74 --- # --description-- Usando o mesmo seletor de estilo do passo anterior, torne maior o tamanho da fonte dos itens e preços usando um valor de `18px`. # --hints-- Você deve definir a propriedade `font-size` como `18px`. ```js const hasFontSize = new __helpers.CSSHelp(document).getCSSRules().some(x => x.style['font-size'] === '18px'); assert(hasFontSize); ``` Você deve usar o seletor `.item p` existente. ```js const hasOneSelector = new __helpers.CSSHelp(document).getStyleDeclarations('.item p'); assert(hasOneSelector.length === 1); ``` Os elementos `p` dentro dos elementos da classe `.item` devem ter uma `font-size` de `18px`. ```js const itemPFontSize = new __helpers.CSSHelp(document).getStyle('.item p')?.getPropertyValue('font-size'); assert(itemPFontSize === '18px'); ``` # --seed-- ## --seed-contents-- ```html Cafe Menu ``` ```css body { background-image: url(https://cdn.freecodecamp.org/curriculum/css-cafe/beans.jpg); font-family: sans-serif; padding: 20px; } h1 { font-size: 40px; } h2 { font-size: 30px; } .established { font-style: italic; } h1, h2, p { text-align: center; } .menu { width: 80%; background-color: burlywood; margin-left: auto; margin-right: auto; padding: 20px; max-width: 500px; } hr { height: 2px; background-color: brown; border-color: brown; } h1, h2 { font-family: Impact, serif; } --fcc-editable-region-- .item p { display: inline-block; margin-top: 5px; margin-bottom: 5px; } --fcc-editable-region-- .flavor, .dessert { text-align: left; width: 75%; } .price { text-align: right; width: 25% } ```