# I've fixed this. I put the script in the same file as the component and I place the styling at the top to come before the button component. And I also updated the Astro version to the most recent version.
# I just tried it, and it's working for me. I don't have anything else to say, other than I like the design of your site!