Hello StackOverflow community! This is my first time posting here, so please excuse any mistakes I may have made while asking my question. :)
[Issue 1]
I've been trying to center text inside circles by referring to the following posts:
- Center text and container inside a circle
- SVG center text in circle
Unfortunately, I haven't been able to find a solution. My goal is to position the text in the middle of the circle, both horizontally and vertically.
[Issue 2]
When I click on the "test" button, hidden circles appear. However, clicking the button again does not make the circles disappear.
I would really appreciate any advice or guidance on how to resolve these issues! :)
Problem Resolved!
- This question isn't a duplicate. I was specifically looking to center text using translate() and got confused between "fadeToggle()" and ":hidden with fadeIn()".
$(document).ready(function() {
$('#test').click(function() {
$(".options:hidden").fadeToggle();
});
});
// CSS code goes here...
// HTML structure and script includes...