Not understanding: Create Strings using Template Literals

Tell us what’s happening:

Your 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";

  // change code below this line
  const resultDisplayArray = arr.map((res) =>{
    return `<li="text-warning">${res}</li>`;});
  // change code above this line

  return resultDisplayArray;
}
/**
 * makeList(result.failure) should return:
 * [ `<li class="text-warning">no-var</li>`,
 *   `<li class="text-warning">var-on-top</li>`, 
 *   `<li class="text-warning">linebreak</li>` ]
 **/
const resultDisplayArray = makeList(result.failure);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; rv:65.0) Gecko/20100101 Firefox/65.0.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/create-strings-using-template-literals/

not li="..."
li class=’’…"

Oh dammit, that was really dumb. Thanks a lot.

welcome…

I have passed it, its incredible because i swear i have checked that but maybe somehow the window deleted some things like it allways does that, changes a bit of the code everytime it loads.

Thanks anyway, and btw I’m available for pair program if you want.

Not bad idea…

Ok cool, where do you need help?
I’m currently doing a project on a product landing page if you want to program.

I am in Basic Algorithm Scripting: Slice and Splice and I am repeating them

hey, do you use google hangouts? If you want we can talk there to program

hey, sorry I’m not using hangouts but watsapp. how about timezone I live in Indonesia?

Uau, i’m far away, Lisbon timezone :). My cellphone is out for now, but soon it will be operational. We can watsapp when its ok but i’m not sure it will be very practical, the sound hardware of my phone is not in the best state anymore, plus the distance call might not be so much high quality on the sound part, but we can try only sound call.