Instructions for the challenge step:
Use the let keyword to declare a profession variable and an age variable. Initialize profession with the string “teacher”, but do not initialize age with any value.
Log both of your variables to the console to see the results.
You need to add age variable with let keyword before the console.log without initialize it.
Also you need to log the age variable.
The error it gives me says You should assign the string "teacher" to the profession variable.
Im not sure what ive gotten wrong with that line. I have tried it as i originally posted and again as
let profession =;
let age =;
profession = “teacher”;
console.log(profession,age);
and it is still showing as incorrect. I am just not sure what is incorrect about that. I followed like the prior steps to get to this one but I must be missing something
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.