I have a query that spans across two areas - CSS styling and JQuery functionality.
The primary concern I have is related to my code snippet below. When the user clicks on the circular profile image, ideally, the "profiledrop" div should become visible. Surprisingly, if I replace the link tag with plain text, everything functions perfectly fine. However, when an image is used instead of text as the link, the code fails to work as expected.
A secondary issue revolves around the size of the "notification-tab" div. It seems to be exceptionally large, almost stretching to approximately 100px for each div, which is excessive! My goal is to reduce this size by at least half. Which section of the CSS code should I tweak to achieve this adjustment?
After spending the last 10 hours typing out this code, I'm feeling completely drained at this point. While I understand that both solutions might be straightforward, I seem to be overlooking the resolution. Thank you in advance for your guidance!
Explore the Codepen here: https://codepen.io/dansbyt/pen/xxgayPa?editors=1010
HTML:
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://mrdansby.com/private/style.css">
// HTML structure content
CSS:
// CSS styling details
JQUERY:
// JQuery functionalities