Https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/testing-objects-for-propertiess

Lowercase o would be nice here

Lowercase o would be nice here.

Not sure why the forum posted this twice. But if you make that change awesome things will happen.

changed to lower case it not showing an error but it not passing

Can I see the new code?

can i have ur email address or whats app contacts so that i can send you the screenshorts(i am on IOS)

the firefox broser on my pc is giving me problems so i am using my phone

if (Obj.hasOwnProperty(checkProp)) {

return obj[checkProp];

} else {

return "Not Found";

}

You can dm me a screenshot if you want but let’s just make sure the code is right before we suspect it is the device.

Can you share your update code to make sure it is correct?

The code is still wrong.

I am referring to this part.

function checkobj(obj, checkProp) {

// Only change code below this line

if (obj.hasOwnProperty(checkProp)) {

return obj[checkProp];

} else {

return "Not Found";

}

the tests are still calling checkObj, so you can’t pass the tests now

1 Like

If you reset the lesson, and use this code in between the
// Only change code below this line
and
// Only change code above this line

test will pass.

thanx i managed to get it right i owe you big tym there this

function checkEqual(a, b) {

return a === b ? true : false

}

checkEqual(1, 2);

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

i was not aware,thank you

1 Like

I would open up a new topic for this challenge.

Basic JavaScript: Use the Conditional (Ternary) Operator

Yes I know what challenge you are talking about but it is best in the forum to stay on topic for the original question.

Since this is a new question and challenge it is best to create a new topic.

Hope that helps!