The accordion effect I edited on Codepen worked fine. However, when clicking on multiple questions, I want the previous answers to close while the current answer is open. Is there any way to achieve this?
Codepen link here
Also, when using Font Awesome 4.7.0, the following Unicode displays normally.
(f055 & f056) Unicodes
But after switching to Font Awesome 5.14.5, Unicode no longer works.
Turn off other buttons and cycle through all buttons within
onclick
again. For the font, replacefont-family: "FontAwesome";
withfont-family: "Font Awesome\ 5 Free";