Js challenge throwing error

I keep getting the error for
Challenge: Create Strings using Template Literals

Link to the challenge:

===>Error
** resultDisplayArray
should be equal to the specified output.:**

my code so far


const result = {

success: ["max-length", "no-amd", "prefer-arrow-functions"],

failure: ["no-var", "var-on-top", "linebreak"],

skipped: ["id-blacklist", "no-dup-keys"]

};

function makeList(arr) {

"use strict";


// Only change code below this line
let count;
const resultDisplayArray = [];

for(count = 0; count < arr.length; count++){
resultDisplayArray.push(` ( \'<li class="text-warning\">${arr[count]} </li>\' )`)
}
// Only change code above this line


return resultDisplayArray;

}


const resultDisplayArray = makeList(result.failure);



how do I resolve this error

You do not need to escape inside a template string.

Edit: You also have some parentheses that shouldn’t be there.

Hi there,

This is a basic example using back-ticks ES6 to concatenate template strings.

// with vetics - template string
const career = 'Developer';
const name = 'John';

console.log(`${name} is a ${career}`);

// output: John is a Developer

/*
remember that with back-ticks you only wrap your variables
name with ${variable name} and wrap all in vetics (``)
just like the example above.
*/