Skip to content

ZHANGJialiHappy/flashcardQuiz

Repository files navigation

Inspired by

flip card

Stack

  1. CSS transform
  2. Tailwind CSS
  3. react
  4. TypeScript

Demo

Check my application on gh-pages.

Steps

  1. Set up redux Toolkit
  2. Add tailwind CSS
  3. Add tailwind DaisyUI
  4. Make the layout
  5. Create FlashcardList with CSS grid
  6. Design flipcard(Flashcard) with CSS transform
  7. Import Axios to fetch data
  8. Test

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run deploy

> That will cause the `predeploy` and `deploy` scripts defined in `package.json` to run.
>
> Under the hood, the `predeploy` script will build a distributable version of the React app and store it in a folder named `build`. Then, the `deploy` script will push the contents of that folder to a new commit on the `gh-pages` branch of the GitHub repository, creating that branch if it doesn't already exist.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.