Conclusion: Part 2 - console.log is not a function?


#1



https://www.codecademy.com/en/courses/getting-started-v2/4/5?curriculum_id=506324b3a7dffd00020bf661


Error message: TypeError: console.log is not a function

I have copied from previous exercises that used that asked for the same if/else with a console.log where they worked but they don't work here. I have also written new code. I am not sure what's going wrong or how to proceed. Any help is appreciated!


if (9>6)
{
    console.log("I finished my first course!");
}
else
{
    console.log("I failed!");
}


#2

Have you already tried reloading/refreshing your webpage?


#3

Apparently not. I just did it and now I pass. Wooow. Thanks for the assist!


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.