I've been struggling with this issue. I used CSS color values to create a smiley face, but when I added a button it messed up the design (adding an unwanted circle around the center of the smiley). I attempted to synchronize the button tag with the popup element using popScroll
, but so far no luck.
Clicking the submit button in the bottom right corner opens and refreshes the popup, which is working as intended. However, I really want to integrate my smiley face into this setup so I can proceed with the design.
If anyone could offer some guidance on what I might be doing wrong, I would greatly appreciate it. I'm fairly new to coding and development and eager to improve.
Currently, clicking the button (the smiley face) triggers an alert saying "hi," as I was testing if placing a transparent button over the face would work.
I will be actively monitoring for questions and responses.
You can find my code here.
<div class="popScroll">
<div class="popup">
<!-- Smiley button -->
<button onclick="alert('hi');" class="smiley">
<!--<div class = "smiley"></i></div>-->
</button>