Skip to content

Jeeya201/TestlineAssignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎯 Quiz Game with Gamification

🚀 Overview

This is a web-based quiz application built with React.js, featuring an intuitive UI and engaging gamification elements. The app dynamically fetches quiz questions from an API and presents them with a modern, interactive experience.

📸 Screenshots

Screenshot (30) Screenshot (34) Screenshot (32) Screenshot (33)

🎥 Video Walkthrough

02.02.2025_23.30.48_REC.mp4

🔥 Features Implemented

🎮 Core Features

  • Start Quiz: A simple and interactive quiz initiation.
  • Multiple-Choice Questions: Users can select one answer per question.
  • Real-Time Feedback: Displays if the selected answer is correct or incorrect.
  • Results Summary: Shows total points scored at the end of the quiz.

⭐ Bonus Features (Gamification)

  • ⏳ Timer per Question: Users must answer within a time limit.
  • 📊 Progress Bar: Visual indication of quiz progress.
  • 🏆 Scoreboard & Achievements: Tracks scores and milestones.
  • 🎨 Enhanced UI/UX: Clean and engaging design with animations.

🔗 API Integration

The quiz data is dynamically fetched from the following API: 🔗 Endpoint: https://api.jsonserve.com/Uw5CrX

  • Error Handling: Displays user-friendly error messages for API failures.
  • Data Parsing: Ensures proper handling of API responses.

🛠️ Tech Stack Used

  • Frontend: React.js
  • State Management: React Hooks (useState, useEffect)
  • Styling: CSS and Tailwind for responsive design
  • API Handling: Fetch API

🚀 Installation & Setup

🖥️ Prerequisites

Ensure you have Node.js and npm/yarn installed.

🏗️ Steps to Run Locally

# Clone the repository
git clone https://github.com/your-username/TestlineAssignment.git

# Navigate to the project folder
cd TestlineAssignment

# Install dependencies
npm install  # or yarn install

# Start the development server
npm start  # or yarn start

The app will be available at http://localhost:3000/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors