i'm trying to create a code where every content image in my html that is click must display a <div id="credits"> whenever the image is clicked.
so the <div id="credits"> must display information in a format where it shows:
File Name - image_file_name.jpg
File Size - image_file_size (with units of the image itself)
after an image is clicked on it must disappear after 3 seconds