Wont recognize console.log as a valid command


#1

if
{
"jacob".length === 5
console.log("i finished my first course")
}
else
{
console.log("this is stupid")
}it does not recognize console.log tells me log is misspelled


#2

Really?

Could you post a screenshot of that please?


#3

how do i post a screenshot


#4

You can just paste it in as you are writing a message.

If you question is more like "How can I get a screenshot" then that will depend on your operating system -- let me know if that is the case.


#5

i am on a windows 7 pc this is the error it give me Oops, try again. It looks like 'log' on line 5 was not defined before it was used. This means either you need to define it, 'log' is spelled incorrectly or you need quotes around 'log'.


#6

Try reloading/refreshing the web page.

If that doesn't help, you have an app in Windows 7 called Snipping Tool. Use that to grad the screen shot then copy and paste it in here.