Tell us what’s happening:
No idea what I’m doing, can someone help point me in the right direction? I feel like I was told to know the alphabet after listening to abc by Jackson 5
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 = []
for (
`'<li class="text-warning">${no-var}</li>',
'<li class="text-warning">${var-on-top}</li>',
'<li class="text-warning">${linebreak}</li>'`)
// Only change code above this line
return failureItems;
}
const failuresList = makeList(result.failure);
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Challenge: ES6 - Create Strings using Template Literals
Link to the challenge: