kikit
August 14, 2018, 4:34am
1
I’m trying to solve this question
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
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
kikit
August 14, 2018, 4:52am
3
OMG!! How I missed that. I was scratching my head from last 30 minutes.
Thank you so much for pointing that out.
1 Like