Build a String Transformer - Step 9

Tell us what’s happening:

I am creating the variable and assigning it the correct value (with the space after the word Love)

const repeatedLove = "Love ".repeat(3);

then logging to the console
console.log(repeatedLove);

I keep getting a: You should log the repeatedLove variable
and

What am missing?

Your code so far


// User Editable Region

const repeatedLove = "love ".repeat(3);
console.log(repeatedLove);

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36

Challenge Information:

Build a String Transformer - Step 9

Works for me. Reset the step and try the same code again

(you can copy paste it from here.)

Is it possible you deleted all of the previous code?

you have this line written in two different ways in your post, once with a lowercase L one with an uppercase L

if you are not passing with the code you are using, try changing the case of the L

Thanks. It gave me the same error again and then I went ahead and pressed the reset button and this time it worked.