Chapter : 4.3
Error message: Did you use the css method to change th color of .menu-button to #C3FF00?
So not helpful at all, hehe.
$(document).ready(() => {
$('.login-button').on('click', () => {
$('.login-form').toggle();
});
$('.menu-button').on('mouseenter', () => {
$('.nav-menu').show();
$('.menu-button').css('color', '#C3FF00');
});
$('.nav-menu').on('mouseleave', () => {
$('.nav-menu').hide();
$('.menu-button').css('color', '#EFEFEF');
});
});
The code fails the first objective.
Is this a bug or am I just blind because I can’t see what’s invalid about my code.