From 21048ba13121a66a3fa99fb70ae815865ffdcd09 Mon Sep 17 00:00:00 2001 From: a2937 Date: Sun, 17 Dec 2023 23:26:05 -0500 Subject: [PATCH] fix(curriculum): only select paragraphs in cafe menu step 34 (#52563) --- .../5f76967fad478126d6552b0d.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f76967fad478126d6552b0d.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f76967fad478126d6552b0d.md index 8fe2287798f..aafceb67015 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f76967fad478126d6552b0d.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f76967fad478126d6552b0d.md @@ -14,7 +14,7 @@ Next, you want to align the price to the right. Add a class named `price` to you You should add the `price` class to your `p` element. ```js -const el = document.querySelector('.price'); +const el = document.querySelector('p.price'); assert.exists(el); ``` @@ -29,7 +29,7 @@ Your `price` class should be on the `p` element with the text `3.00`. ```js const el = document.querySelector('.price'); -assert.match(el.innerText, /3\.00/i); +assert.equal(el.innerText, "3.00"); ``` # --seed--