From 24190b95aefbf03ecd50cc2245ed7a5c610e2892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AEzdoag=C4=83=20Octavio?= <179933691+octavio-js@users.noreply.github.com> Date: Mon, 19 Jan 2026 21:56:48 +0200 Subject: [PATCH] fix(curriculum): fix the tests that should pass when code is correct (#65328) --- .../blocks/lab-real-time-counter/66bb3e20d3dc5b6d0a21f5dd.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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'); ```