diff --git a/curriculum/challenges/english/blocks/lab-real-time-counter/66bb3e20d3dc5b6d0a21f5dd.md b/curriculum/challenges/english/blocks/lab-real-time-counter/66bb3e20d3dc5b6d0a21f5dd.md index e760a868b1b..b92c07ea0e1 100644 --- a/curriculum/challenges/english/blocks/lab-real-time-counter/66bb3e20d3dc5b6d0a21f5dd.md +++ b/curriculum/challenges/english/blocks/lab-real-time-counter/66bb3e20d3dc5b6d0a21f5dd.md @@ -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'); ```