Solution not passing

I’m trying to solve this question

I’m using the Template string but its still not passing the solution . What is wrong ?

const resultDisplayArray = [`<li class="text-warning">${result.failure[0]}</li>`,
  `<li class="text-warning">${result.failure[1]}</li>`,
  `<li class="text-warning">${result.failure[2]}</li>`];

Hi,

Instead of result.failure you have to use arr inside makeList function. This is because you are passing result.failure as arr when you call the makeList function

1 Like

OMG!! How I missed that. I was scratching my head from last 30 minutes.
Thank you so much for pointing that out.

1 Like