Team stats project

Hi, can someone help me. It’s keep popping as error. I checked it lot of times looking for syntax errors, checked as well with video in ‘get unstuck’ section, but still couldn’t find what’s wrong. Maybe someone could look at my code and give a feed back on it, please… :sob: :sob: :sob:

I get the following error:

team.addPlayer( "Steph" "Curry" 28 );
SyntaxError: missing ) after argument list

look at the line involved:

team.addPlayer( "Steph" "Curry" 28 );

I can indeed see a problem. Do you see how you separate the arguments provided in the method/function call? Does that look correct to you?


omg! I was going crazy why it was saying missing ) … and didn’t realized that i forgot commas! Thank you! :relaxed:

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