the code is: .error-message { display: none; } but it should be '#' instead of '.' As it is an id, not a class.