<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div id="click">
  Cliquez ici!
</div>
<img id="logo" src="https://waytolearnx.com/wp-content/uploads/2020/09/cropped-waytolearnx.png"/>
$('#click').click(function() {
  $('#logo').toggle('slow', function() {
    alert($('#logo').is(":visible")); //<--- TRUE if Visible False if Hidden
  });
});

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.