Skip to content

Instantly share code, notes, and snippets.

@lucifermorningstar1305
Created January 31, 2024 12:59
Show Gist options
  • Save lucifermorningstar1305/4879e3e247b1c39a3e074fa70a88ac3b to your computer and use it in GitHub Desktop.
Save lucifermorningstar1305/4879e3e247b1c39a3e074fa70a88ac3b to your computer and use it in GitHub Desktop.
Implementation of the FlashCard exercise
import React from "react";
import FlashCard from "./FlashCard";
const FlashCards = ({ questions }) => {
return (
<div className="flashcards">
{questions.map((question) => (
<FlashCard question={question} key={question.id} />
))}
</div>
);
};
export default FlashCards;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment