event

Try it out

Fill in the event handler below to apply the class "btn-like" to the $(".btn") element when the g key is pressed. Check if the g key is clicked using the key code 103. Use $(".btn") to select the Like button. Use .toggleClass() to apply the class "btn-like".