fCC Everything Be True Challenge --> Missing Closing Quote In Test Cases Shown

The test cases are missing a closing quote in what is displayed in the challenge and there is no way to tell if it’s the same under the hood or not - probably not because the code won’t even run the way it is shown in the challenge.

truthCheck([{id: 1, data: {url: "https://freecodecamp.org", name: "freeCodeCamp}}, {id: 2, data: {url: "https://coderadio.freecodecamp.org/", name: "CodeRadio"}}, {id: null, data: {}}], "data") should return true.

truthCheck([{id: 1, data: {url: "https://freecodecamp.org", name: "freeCodeCamp}}, {id: 2, data: {url: "https://coderadio.freecodecamp.org/", name: "CodeRadio"}}, {id: null, data: {}}], "id") should return false.

The word “freeCodeCamp” in those examples has a " in front of it but not after it - causing the code to fail.

What is the proper thing to do? Just fix it?


  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0

Challenge: Everything Be True

Link to the challenge:

Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.

1 Like

Thanks - I’ll give that a shot


Update: