While experimenting with Bootstrap, I encountered an issue with the bootstrap alert button that seems to be malfunctioning. I simply copied the code from Bootstrap's official website: https://i.sstatic.net/DRLIg.png
However, upon testing it on my page, something seems amiss. The button's design is distorted and clicking on it does not close the alert as expected. Upon inspection, I confirmed that all necessary attributes such as alert-dismissible
and data-dismiss = 'alert'
were present in the code. Additionally, the script included was the latest Bootstrap bundle version.
https://i.sstatic.net/l50PT.png