Hashes / key-value pairs - help a sister out!


#1

my_hash = {
"groot" => "groter"
"sloom" => "slomer"
"blij" => "blijer"
}

Hi everyone! Bit stuck with my code. Anyone sees what i should do?

what i should do:
1.Create a hash called my_hash in the editor.
2. Give it at least one key-value pair.

what he returns: "Oops, try again.
It looks like you didn't add any key-value pairs to my_hash."

Thank you!

          
            
              
                ?

#2

Hi after each key-value you should add a , like that

my_hash = {
    key => value, 
    Key1 => value ,
    .........
}

#3

Thank you wizmarco! Very helpfull!