The alert displays nothing because the background color of the div is assigned by a class, not by the style attribute.
div
style