Create strings using template literals 2

Tell us what’s happening:
This will not pass. What do you think is the issue?

  **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++) {failureItems.push('<li class="text-warning">${arr[i]}</li>');
}
// Only change code above this line

return failureItems;
}

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

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15

Challenge: Create Strings using Template Literals

Link to the challenge:

It looks like you’re not using backticks but rather single quotes. I don’t know if that is a result of copy pasting your code to ask the question, but I copy pasted your code and put it in the test and it was single quotes. I changed it to backticks and it passed.

(The desired result of the question looks like it is single quotes so that could confuse people.)

Search “where are backticks on my keyboard” to find where it is on the keyboard you use.

That’s it =) we get confusing sometime with backticks and single quote!

Thank you! I could not figure it out!