What seems to be the issue with this code snippet?

Nothinggems isn't declared yetWe need to add values with a =>"name" isn't a valid key

Bingo! We haven't declared gems as a hash, so there's nothing to add the key-value pair to. Strings are valid keys and we can use = to add values.

Yikes! We haven't declared gems as a hash, so there's nothing to add the key-value pair to. Strings are valid keys and we can use = to add values.