You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm newbie to the javascript. I used to write C or C++ so I adapted several coding styles from them. The issue I encountered was if I left space between the argument and the parenthesis, I would fail the last requirement ("Don't forget to ...") of the challenge. I knew it might not be a good practice to adopt the style but I was wondering why it would fail the test. So far, I haven't found any related information. Thanks for your consideration.
@babygoat Sorry for the delay. This has come up before in similar challenges (ex. #10021 and #8360). It's a matter of updating the Regex tests to accept optional spaces because as you've mentioned, it is acceptable. Thanks for the issue.
Challenge Name
https://www.freecodecamp.com/challenges/get-json-with-the-jquery-getjson-method
Issue Description
Hello, I'm newbie to the javascript. I used to write C or C++ so I adapted several coding styles from them. The issue I encountered was if I left space between the argument and the parenthesis, I would fail the last requirement ("Don't forget to ...") of the challenge. I knew it might not be a good practice to adopt the style but I was wondering why it would fail the test. So far, I haven't found any related information. Thanks for your consideration.
Browser Information
Your Code
Screenshot
The text was updated successfully, but these errors were encountered: