Having problems with console.log

Ive replied with a codepen link before the screenshots.

yes, you have syntax errors

try to use the analyze function in codepen
image

Yes. The codepen link is good. Screenshots of code are not really helpful. They’re hard to read or run.

oh ok got it. ill know for next time :slightly_smiling_face:

I still don’t understand even with syntax errors, why I am having problems with console logging.

What error messages is the analyzer giving you? You have some errors with where to put whitespace, ()s, and {}s as well as errors with capitalization.

Depending on how much you know, you might be trying to run before you walk. If you are not comfortable with JavaScript syntax, a few hours of doing the JavaScript challenges on frueCodeCamp.org/learn might be really helpful.

Expected an assignment or function call and instead saw an expression.

Missing semicolon.

Missing semicolon.

^these are my error messages.

Yeah I may have to go back and study the syntax a bit more. but I thought I had it. I wanted to move on to building so that I could get a better understanding of it. its hard just learning the concepts without applying them to something. Also this is straight form a YouTube tutorial, so its really throwing me off that im running into so many problems…

Trying to duplicate tutorials is a classic place to see capitalization and spacing errors

Function addTodo (event) {

like in this line