Build a User Configuration Manager - Build a User Configuration Manager

Tell us what’s happening:

Hello! I’m just getting started and I can’t get past the #4 code test:
4. add_setting should convert the key to lowercase.

I thought my code was pretty straight forward and I’ve tried different iterations, but I keep getting the error message.

Your code so far

test_settings = {
    'Theme':'dark','Notifications':'enabled','Volume':'high','Language':'English'
}

def add_setting(test_settings, new_setting):
    key, value = new_setting
    key = key.lower()
    value = value.lower()

Your browser information:

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

Challenge Information:

Build a User Configuration Manager - Build a User Configuration Manager

Github Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-user-configuration-manager/684aaf9ec670c68d20efd0d0.md at main · freeCodeCamp/freeCodeCamp · GitHub

This turned out to be an issue with my browser. The error message was incorrectly firing when my code was correct. I deleted all my code and saved, then restarted my browser. Finally, I pasted the same code as seen above and the code check/test passed.