Skip to content

soham203/Web3-Quiz

Repository files navigation

QuizChain 🧠⛓️

Screenshot 2024-11-30 162433

QuizChain is a simple, interactive quiz platform built with React and Tailwind CSS. It allows users to play quizzes dynamically loaded from JSON files, providing an engaging and lightweight experience.


🚀 Features

  • Interactive Quizzes:
    Fun and easy-to-play quizzes with instant feedback.

  • Dynamic Content:
    Quiz questions and answers are loaded from JSON files, allowing easy updates and customization.

  • Responsive Design:
    Tailwind CSS ensures a seamless experience across all devices.


🛠️ Tech Stack

  • Frontend: React, Tailwind CSS
  • Data Source: JSON for quiz questions and answers
  • Deployment: Vercel

📦 Installation

Follow these steps to run QuizChain locally:

Prerequisites

  • Node.js (v18 or later)
  • A code editor (e.g., VS Code)

Clone the Repository

git clone https://github.com/Sohamm/quizchain.git
cd quizchain
npm install
npm run dev

📝 How It Works

  • Quiz Data: The quizzes are stored as JSON files in the /data folder.

  • Example JSON format:

[  
  {  
    "question": "What is the capital of France?",  
    "options": ["Paris", "London", "Berlin", "Madrid"],  
    "answer": "Paris"  
  },  
  {  
    "question": "Who developed React?",  
    "options": ["Google", "Facebook", "Microsoft", "Twitter"],  
    "answer": "Facebook"  
  }  
]  
  • Dynamic Loading: The app dynamically parses and renders quiz data from JSON using React.

  • Styling: Tailwind CSS ensures a responsive and modern design for all devices.


👨‍💻 Contributing

We welcome contributions from the community! Please follow these steps to contribute:

  • Step 1 - Fork the repository.

  • Step 2 - Create a new branch.

git checkout -b feature-name
  • Step 3 - Commit your changes.
git commit -m "Add feature-name"
  • Step 4 - Push to your branch.
git push origin feature-name
  • Step 5 - Open a pull request.

📧 Contact

For any questions or feedback, feel free to connect:

I am not puting that here, Just visit my github profile :)


🌐 Demo

Check out the live demo: https://web3-quiz-kappa.vercel.app/

Releases

No releases published

Packages

No packages published

Languages