--- id: 5f7b87422a560036fd03ccff title: Step 50 challengeType: 0 dashedName: step-50 --- # --description-- Per i due elementi `p` che hai appena aggiunto, aggiungi `dessert` come valore dell'attributo `class` del primo elemento `p`, e `price` come valore dell'attributo `class` del secondo elemento `p`. # --hints-- Dovresti avere un elemento `p` con la classe `dessert`. ```js assert($('.dessert').length === 1); ``` L'elemento `p` con il testo `Donut` dovrebbe avere la classe `dessert`. ```js assert($('.dessert')[0].innerText.match(/donut/i)); ``` L'elemento `p` con il testo `1.50` dovrebbe avere la classe `price`. ```js assert($('.price').last().text().match(/1\.50/)); ``` Non dovresti avere spazi tra i tuoi elementi `p`. ```js assert(!code.match(/<\/p>\s+

Cafe Menu

``` ```css body { background-image: url(https://cdn.freecodecamp.org/curriculum/css-cafe/beans.jpg); } h1, h2, p { text-align: center; } .menu { width: 80%; background-color: burlywood; margin-left: auto; margin-right: auto; } .item p { display: inline-block; } .flavor { text-align: left; width: 75%; } .price { text-align: right; width: 25% } ```