So, very new to learning javascript code and one of the problems I'm having with it is that it isn't allowing me to use the ${} in the line that is supposed to say console.log('For Loop Number: ${1}');
const todos = [
{
id: 1,
text: 'Take out the trash',
isCompleted: true
},
{
id: 2,
text: 'Meeting with boss',
isCompleted: true
},
{
id: 3,
text: 'Dentist appt',
isCompleted: true
}
];
// For
for(let i = 0; i < 10; i++) {
console.log('For Loop Number: ${1}');
}
Now what it is supposed to be showing is a list of the numbers with For Loop in the console but I am not getting that. VERY new to javascript so keep that in mind, please.