How to Explore Differences Between the var and let Keywords

Explore Differences Between the var and let Keywords
Here’s my source code:


let catName;
let quote;
function catTalk() {
"use strict";

catName = "Oliver";
quote = catName + " says Meow!";
}
catTalk();

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

Challenge: Explore Differences Between the var and let Keywords

Link to the challenge:

Why I copy source code but error in catSound? (catSound should be the string Meow!)

This is the first time I write to get help in freecodecamp forum. Thank you very much!

You seem to have some old code. All that you should see in the starting code is this.

var catName = "Oliver";
var catSound = "Meow!";

And all you have to do is change the var to let

Thank you very much!
Here is my source code after I fixed:

let catName = "Oliver";
let catSound = "Meow!";
let quote;
function catTalk() {
  // "use strict"

  quote = catName + " say Meow";
}
catTalk();