Help with making reverse cards (types with multiple fields)

Hello!

I am new to Anki and coding in general, so I thought I’d see if anyone could help me here.

I am trying to create reverse cards for language learning, but the card type I am using won’t let me simply “flip” the cards like other Anki types might. Since it has so many fields, and the coding is so foreign to me, I’m unsure how to proceed. I’m looking to keep the current cards I have, but create duplicates with reversed question/answer. I’ve attached screenshots of what I’m currently looking at on my end. Thanks for the help!

To use “Flip” – you need to have a clear line between the front and back on your back template. That’s usually done by starting out your back template with –

{{FrontSide}}
<hr id=answer>

If you take a look at the default note types, you’ll see more examples of that.

For your more complex templates, it’s just a matter of moving things around to where you want them. The only “coding” things you need to understand are –

  • What a {{field replacement}} is – Field Replacements - Anki Manual .
  • That HTML tags usually come in pairs, like <div ...> and </div>. Think of those like open and close ( parentheses ) or " quotes " around something – for every open, you need a close.

That would depend on what exactly you consider the question and the answer here, and what is just background info, auxiliary context, etc. Without your interpretation, from the screenshots alone, it is not clear.

If you simply want to swap the front and back of the card, you can just duplicate the card type (OptionsAdd Card Type) and then copy and paste the respective templates between the sides as a whole.

If you want to go into more detail, it would be helpful to post the code for your card here as text inside code sections image (apply it to an empty line to make a proper block).

Thank you! I was able to move it around from the front and back template.