Closes #6 by removing closed and invisible classes from respective elements when clicking a word. (This therefore works both for new words and for the same word being clicked again. This is desirable since a user may click a word again as an alternative to unhiding the card.)
Closes #9 solved by removing the .cardbutton class which is obsolete and replacing with .hide and .close. This may cause problems ahead if I these classes are used for non-card elements.
Closes #6 by removing
closed
andinvisible
classes from respective elements when clicking a word. (This therefore works both for new words and for the same word being clicked again. This is desirable since a user may click a word again as an alternative to unhiding the card.)Closes #9 solved by removing the
.cardbutton
class which is obsolete and replacing with.hide
and.close
. This may cause problems ahead if I these classes are used for non-card elements.