Help i am no able to go forward

Tell us what’s happening:

it’s still saying the code is not right even though I cross-checked the code its correct in solution

Your code so far


function printManyTimes(str) {
"use strict";

// Only change code below this line

const sentence = str + " is cool!";
for (let i = 0; i < str.length; i+=2) {
  console.log (sentence);
}

// Only change code above this line

}
printManyTimes("freeCodeCamp");

Your browser information:

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

Challenge: Declare a Read-Only Variable with the const Keyword

Link to the challenge:

sentence is not the same thing as SENTENCE

2 Likes

YEAH got it later ehhehe