The request is not explained clearly

Tell us what’s happening:
hi

In my opinion the request in this lesson is not clearly stated. It might be better to mention that a loop should generate multiple strings of
li class=“text-warning”>the value/li and the template literal should be included. The output will look like this:

[
  '<li class="text-warning">no-var</li>',
  '<li class="text-warning">var-on-top</li>',
  '<li class="text-warning">linebreak</li>'
]
  **Your code so far**

const result = {
success: ["max-length", "no-amd", "prefer-arrow-functions"],
failure: ["no-var", "var-on-top", "linebreak"],
skipped: ["no-extra-semi", "no-dup-keys"]
};
function makeList(arr) {
// Only change code below this line
const failureItems = [ `<li class="text-warning">${arr[0]}</li>`,
`<li class="text-warning">${arr[1]}</li>`,
`<li class="text-warning">${arr[2]}</li>`];
// Only change code above this line

return failureItems;
}

const failuresList = makeList(result.failure);
console.log(failuresList);
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36

Challenge: Create Strings using Template Literals

Link to the challenge:

In the directions it does say to use a loop though.
Use an iterator method (any kind of loop) to get the desired output (shown below).