I had a hard time with lesson 25 but executed the program like so:
var myCountry = "The United States of America";
console.log("The United States of America".length);
console.log("The United States of America".substring(0,3));
Then onto 26 and wrote my program in similar fashion and it too passed:
My question is where are we storing variables if it's not to recall? When I was doing lesson 25. I was under the impression it should have been:
var myCountry="The United States of America";
As in by defining the variable, the value had been stored. Meaning (as per the lesson) I would be able to use the shorter "myCountry" vs "The United States of America." If I have to type out "USA" every single time, that's not easier than just inputting the variable. Same with lesson 26. Am I really updating the value if I have to manually print which value I want every single time? Maybe I'm thinking too basically but as I peruse through these forum post, I see a lot of students having the same "Variable" issues.