This is a simple flashcard application built with SvelteKit, Svelte 5, shadcn-svelte
, and Tailwind CSS.
- Create and delete decks of flashcards.
- View flashcards with front, back, and notes.
- Import flashcards from a CSV file.
- All data is saved in your browser's local storage.
Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
- Click on the "Create Deck" button.
- Enter a name for your deck in the dialog and click "Create".
Click the "X" button on a deck card to delete it.
- Click on a deck to select it.
- The first card's front will be displayed.
- Click "Show Answer" to reveal the back and any notes.
- Use the "Previous" and "Next" buttons to navigate through the cards.
- Select the deck you want to import cards into.
- Click the "Import CSV" button.
- Choose a CSV file from your computer. The CSV file should have the following columns in order:
front
,back
,notes
. The file should not have a header row. - The cards will be automatically added to the selected deck.