Create Strings using Template Literals---need help

whats wrong in this code ?
i can successfully passed first two challenge but the last one still showing an error
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 = => `<li class="text-warning">${result}</li>`);
  // change code above this line

  return resultDisplayArray;

const resultDisplayArray = makeList(result.failure);

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.

Link to the challenge:

there is a known bug in the FCC challenge. Skip this for now… I believe your solution is correct.

(ps. you can search the forum before you post in future to identify solutions to common issues such as this one.)

1 Like

thanks @hbar1st :face_with_raised_eyebrow: