Debugging/sanity help

Tell us what’s happening:
Hi, I can’t seem to see where my code’s output isn’t meeting specs. What am I not seeing here; can someone else see it?

  **Your code so far**

const result = {
success: ["max-length", "no-amd", "prefer-arrow-functions"],
failure: ["no-var", "var-on-top", "linebreak"],
skipped: ["no-extra-semi", "no-dup-keys"]
};
function makeList(arr) {
// Only change code below this line
const failureItems = [];
for( let i = 0; i < arr.length; i++ ){
  let s = `<li class="test-warning">${arr[i]}</li>`;
  failureItems.push( s );
}
// Only change code above this line

return failureItems;
}

console.log(makeList(result.failure));
const failuresList = makeList(result.failure);
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

Challenge: Create Strings using Template Literals

Link to the challenge:

Small typo - It should be text-warning instead of test-warning.

image

That’s it!

2 Likes

You are not seeing that “text-warning” and “test-warning” are different in one letter :wink:

3 Likes

MY SANITY! SAVED!
thanks everyone for seeing what i clearly could not see!