fix(curriculum): only select paragraphs in cafe menu step 34 (#52563)

This commit is contained in:
a2937
2023-12-17 23:26:05 -05:00
committed by GitHub
parent 0a385e4bed
commit 21048ba131

View File

@@ -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--