I am writing the following code in my VS code editor.
let name="Sam";
const val = "I am $ {name}";
console.log(val);
when I display it in console it should display" I am Sam" .But it is printing "I am $ {name}"
I have added extention of "JS ES6" and "Live Server" I am a beginner and unable to understand what I am doing wrong.
`, not quotes". Also it's${name}not$ {name}.