Scripting Basics

How to create your own Flashcard

KardSkript uses its own scripting style called .Kard, which can be used to create flashcards on this site. It's pretty much easy to do even if you have 0 experience in coding! Here's how it works on basics level!

  • Start by writing a flash() block. Inside it, you'll define the front (question/term) and back (answer/definition) of your flashcard.
  • (Optional) Add extra styling like bg_color to make your cards unique.
  • Save and run your script — your flashcards will appear instantly on the board!
flash({
  front : "Hello!",
  back : "World!",
})

flash({
  front : "Start making!",
  back : "World!",
  bg_color : "#652dffff",
})
Hello!
World!
Start making!
World!