When viewing the back of the card, is there a way to flip it back to view the front again? I often want to do this when memorising a new card, but I can’t find a way to do it.
Apologies if this is a common issue - it seems kind of hard to search for because the answers are always about swapping the front and back of all the cards, which isn’t what I want to do. I just want to view the front of the card I’m currently studying.
I don’t know what you mean by “Normally your cards show the frontside and the answer”. After I click “show answer”, I see only the answer and not the front side of the card. All I want to do is switch back to seeing the front, so that I can look at it before looking at the answer again.
“Again” is not what I want. That puts the card back in the deck so that I will see it later, after some other cards. I do not want to see it later, I want to see it now. Look at the answer, then look at the question again, then look at the answer. Not move to a new card.
That means you’re using custom templates. You can add {{Frontside}} to the back template (at the top) and you’ll have both, question and answer, once you flip the card to the backside.
Else there’s maybe a javascript solution, though other people here would have to help with that.
Thank you - changing the card template will work, I’ll do that if there isn’t another way. But then I’ll see the front side of every card, every time I click “show answer”. For the deck I’m using that isn’t super convenient because there’s a picture and a bunch of other stuff on the front that takes up a lot of space, so if there is a way to do what I’m asking then it would still be really useful. Ideally I’d really like to switch between viewing the back and the front, not see both at once.
Perhaps a button which you click to show a pop-up with the front side of the card could work? (Not switching to the front side, a pop-up which contains the content)
Possible solution
If it is possible to create a pop-up (I am not aware of how to do so, somebody else will have to tell), my solution would be using a MutationObserver to detect when the card is switched to the back and then copying the entire “qa” div (from what I’ve seen, switching to the back creates 3 MutationObserver events, the event which has div==“qa” and .removedNodes[0].nodeName == “style” is the one we need) and storing that as a variable to be used in the pop-up which is generated on click.
If somebody can tell how to generate a pop-up, I’d be happy to give you the code you need (just you’ll have to wait for around two weeks for me to become free enough to do this).