Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Javscript level 2 lesson 3

var bestApp = 'studytonight';
let var1 = 'I love coding';
let num = 007;
let $123 = 100;

console.log(bestApp);
console.log(var1);
console.log($123);
console.log(num);


its keeps telling me error but im sure this is the right code no?
by

5 Answers

Bikram5c5hi
Hi, I have successfully submitted that question but don't remember the question statement and for some reason (idk why) the platform wont let be revisit the question statement. I would love to help you if you can just provide the question statement (by question statement I mean the instructions) and the error message too.
vatdoc
var 3nm = 'studytonight';
let _code = 'I love coding';
let var = 007;
let $123 = 100;
this is the original problem.

"For the first incorrect variable name, use the name bestApp*, and for the second incorrect variable name, use the name num.

If you find one more incorrect variable name. then use the names *var1* for it.

Once you are done updating the variable names, use *console.log()* statements to log every variable separately in the console in the exact order in which they were created. So you will have o add 4 *console.log()
statements."

i get lost at the "exact order" instruction. I have tried a number of combinations to no avail. i appreciate any help!
Tanyakat2j
what is the answer ,even i am stuck at the same level
doua
any one has the answer? it doesn't make any sense!

var bestApp = 'studytonight';
let _code = 'I love coding';
let num = 007;
let $123 = 100;

console.log(bestApp);
console.log(_code);
console.log(num);
console.log($123)

that's what the answer suppose to be, but it keeps printing an error notificatio :"(
i'd be relieved if anyone help me to put an end for this
tbk34w0
var bestApp = 'studytonight';
let _code = 'I love coding';
let num = 007;
let $123 = 100;

console.log(bestApp);
console.log(_code);
console.log(num);
console.log($123);


Here's what worked for me
Also try running the code in the output before submitting the answer
Hope it helps

Login / Signup to Answer the Question.