diff --git a/curriculum/challenges/english/25-front-end-development/lab-palindrome-checker/657bdc55a322aae1eac3838f.md b/curriculum/challenges/english/25-front-end-development/lab-palindrome-checker/657bdc55a322aae1eac3838f.md index 84616c23624..182866b86e6 100644 --- a/curriculum/challenges/english/25-front-end-development/lab-palindrome-checker/657bdc55a322aae1eac3838f.md +++ b/curriculum/challenges/english/25-front-end-development/lab-palindrome-checker/657bdc55a322aae1eac3838f.md @@ -54,7 +54,7 @@ You should have a `div`, `span`, or `p` element with an `id` of `"result"`. ```js const el = document.getElementById('result'); -assert(['div', 'span', 'p'].includes(el?.nodeName?.toLowerCase())); +assert.oneOf(el?.nodeName?.toLowerCase(), ['div', 'span', 'p']); ``` When you click on the `#check-btn` element without entering a value into the `#text-input` element, an alert should appear with the text `Please input a value`.