Please guys the code is not submitting

Tell us what’s happening:

Your code so far

// Setup
function phoneticLookup(val) {
var result = "";

// Only change code below this line

var lookup = {
  "alpha": "Adams",
  "bravo": "Boston",
  "charlie": "Chicago",
  "delta": "Denver",
  "echo": "Easy",
  "foxtrot": "frank"
result = lookup[val];
// Only change code above this line
return result;

// Change this value to test

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36.

Challenge: Using Objects for Lookups

Link to the challenge:

The tests are expecting the output from your code to match **exactly ** with what it is asking. Look at the error message you are getting:

phoneticLookup("foxtrot") should equal "Frank"

Now look at the value you have the foxtrot property set to.

"foxtrot": "frank"

Do you see the difference?

Okay. You mean i should input the value which is frank instead of its property?
I did change it to “frank” but still not working

You are overthinking this :slight_smile:

"Frank" !== "frank"

Wow… I didn’t see that coming. Thank you very much