@Alex-Archer-I
Posted
Hi!
The variable, you are using to detect status of the question, is initially set to 0. So at first click function executes else
condition which set display
to none
.
To change icons you can use img
tag inside the button
and change it's src
attribute via JS.
Also I recommend you to add cursor: pointer
rule to buttons for better user experience.
Happy coding =)