fix(curriculum): spacing issue for step 17 of rpg project (#54362)

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
Jenna (Ju Hee) Han 2024-04-15 00:52:28 -04:00 committed by GitHub
parent 75058e654a
commit 5b311f9df1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,7 +49,7 @@ Your first `span` element should be wrapped around the text `0`.
const stat = document.querySelectorAll('.stat')[0];
const strong = stat?.querySelector('strong');
const span = strong?.querySelector('span');
assert.equal(span.innerText, '0');
assert.equal(span.innerText.trim(), '0');
```
The text of your first `.stat` element should still be `XP: 0`.
@ -91,7 +91,7 @@ Your second `span` element should be wrapped around the text `100`.
const stat = document.querySelectorAll('.stat')[1];
const strong = stat?.querySelector('strong');
const span = strong?.querySelector('span');
assert.equal(span.innerText, '100');
assert.equal(span.innerText.trim(), '100');
```
The text of your second `.stat` element should still be `Health: 100`.
@ -133,7 +133,7 @@ Your third `span` element should be wrapped around the text `50`.
const stat = document.querySelectorAll('.stat')[2];
const strong = stat?.querySelector('strong');
const span = strong?.querySelector('span');
assert.equal(span.innerText, '50');
assert.equal(span.innerText.trim(), '50');
```
The text of your third `.stat` element should still be `Gold: 50`.