fix(curriculum): fix the tests that should pass when code is correct (#65328)

This commit is contained in:
Vîzdoagă Octavio 2026-01-19 21:56:48 +02:00 committed by GitHub
parent 6668692afb
commit 24190b95ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,14 +36,13 @@ assert.equal(textInput.id, 'text-input');
You should have a `p` element with the `id` of `char-count`.
```js
const charCount = document.querySelector('p');
assert.equal(charCount.id, 'char-count');
assert.exists("p#char-count");
```
The `#char-count` element should initially contain the text `Character Count: 0/50`.
```js
const charCount = document.querySelector('p')?.innerText;
const charCount = document.querySelector('p#char-count')?.innerText;
assert.equal(charCount, 'Character Count: 0/50');
```