mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-22 21:08:12 +08:00
fix(learn): update hints for pseudo selectors challenge (#50799)
This commit is contained in:
parent
ca581d395c
commit
d19649e704
@ -61,6 +61,12 @@ Your third `td` element should have the text `$809`.
|
||||
assert(document.querySelector('tbody')?.querySelectorAll('tr')?.[3]?.querySelectorAll('td')?.[2]?.textContent === '$809');
|
||||
```
|
||||
|
||||
Your third `td` element should have the `class` attribute set to `current`.
|
||||
|
||||
```js
|
||||
assert(document.querySelector('tbody')?.querySelectorAll('tr')?.[3]?.querySelectorAll('td')?.[2]?.classList?.contains('current'));
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
## --seed-contents--
|
||||
|
||||
Loading…
Reference in New Issue
Block a user